aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-17 20:48:34 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-17 20:48:34 +0100
commita3e418c1a48a057d82fc3faf927ebf1cd3da7227 (patch)
tree35804182134024453a4cb43f1ddf5415a6b99cc0 /src/crepe/api
parente055b5c972d248820e844a6353d63a26ccc1e1f3 (diff)
feedback
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Button.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crepe/api/Button.h b/src/crepe/api/Button.h
index 0f446c9..d42527e 100644
--- a/src/crepe/api/Button.h
+++ b/src/crepe/api/Button.h
@@ -13,9 +13,9 @@ namespace crepe {
* This component creates a clickable surface at the transform location with the specified width and height.
*
* The Button can be used in scripts by subscribing a EventHandler to the following events:
- * - **ButtonPressEvent**: Triggered when the surface is clicked with the mouse. Contains GameObject metadata.
- * - **MouseEnterEvent**: Triggered when the mouse enters the button area. Contains GameObject metadata.
- * - **MouseExitEvent**: Triggered when the mouse leaves the button area. Contains GameObject metadata.
+ * - ButtonPressEvent
+ * - ButtonEnterEvent
+ * - ButtonExitEvent
* \see EventManager
*
*/
@@ -34,7 +34,7 @@ public:
*
* Since the button Event transfers the GameObject Metadata it will be the same for each button so only one button is allowed per GameObject
*
- * \return The maximum number of instances for this component
+ * \return 1
*/
virtual int get_instances_max() const { return 1; }