aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/InputSystem.h
diff options
context:
space:
mode:
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){};
};
/**