aboutsummaryrefslogtreecommitdiffstats
path: root/include/components.hpp
diff options
context:
space:
mode:
authorAndy <drumsetmonkey@gmail.com>2016-10-28 08:30:14 -0400
committerAndy <drumsetmonkey@gmail.com>2016-10-28 08:30:14 -0400
commit0a8654a125fad2961039e614fd10f1f683c0001f (patch)
tree6eb4760dcb9129870fb3906be0969a37646502e7 /include/components.hpp
parent816bedbd011b6729e8be0a4b40213f48fd9d73ca (diff)
Text is fixed, and objects can be placed on the ground
Diffstat (limited to 'include/components.hpp')
-rw-r--r--include/components.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/components.hpp b/include/components.hpp
index 1195337..507aa33 100644
--- a/include/components.hpp
+++ b/include/components.hpp
@@ -62,6 +62,16 @@ struct Physics {
};
/**
+ * @struct Grounded
+ * @brief Places an entity without physics on the ground.
+ * This is used so we don't have to update the physics of a non-moving object every loop.
+ */
+struct Grounded {
+ //TODO possibly make a way to change this
+ bool grounded = false;
+};
+
+/**
* @struct Health
* @brief Gives and entity health and stuff.
*/
@@ -200,7 +210,6 @@ struct Animate {
};
//TODO
-
struct Input {
};