aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/InputSystem.h
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/system/InputSystem.h
parente055b5c972d248820e844a6353d63a26ccc1e1f3 (diff)
feedback
Diffstat (limited to 'src/crepe/system/InputSystem.h')
-rw-r--r--src/crepe/system/InputSystem.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h
index 45c593a..e580d8e 100644
--- a/src/crepe/system/InputSystem.h
+++ b/src/crepe/system/InputSystem.h
@@ -19,31 +19,31 @@ class Transform;
class ButtonPressEvent : public Event {
public:
//! Metadata of the button.
- const Metadata & meta_data;
+ const Metadata & metadata;
/**
- * \param meta_data Metadata of the button pressed
+ * \param metadata Metadata of the button pressed
*/
- ButtonPressEvent(const Metadata & meta_data) : meta_data(meta_data){};
+ ButtonPressEvent(const Metadata & metadata) : metadata(metadata){};
};
//! Event triggered when the mouse enters a button
class ButtonEnterEvent : public Event {
public:
//! Metadata of the button.
- const Metadata & meta_data;
+ const Metadata & metadata;
/**
- * \param meta_data Metadata of the button pressed
+ * \param metadata Metadata of the button pressed
*/
- ButtonEnterEvent(const Metadata & meta_data) : meta_data(meta_data){};
+ ButtonEnterEvent(const Metadata & metadata) : metadata(metadata){};
};
//! Event triggered when the mouse leaves a button
class ButtonExitEvent : public Event {
public:
//! Metadata of the button.
- const Metadata & meta_data;
+ const Metadata & metadata;
/**
- * \param meta_data Metadata of the button pressed
+ * \param metadata Metadata of the button pressed
*/
- ButtonExitEvent(const Metadata & meta_data) : meta_data(meta_data){};
+ ButtonExitEvent(const Metadata & metadata) : metadata(metadata){};
};
/**