aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-10-28 09:19:40 -0400
committerClyne Sullivan <tullivan99@gmail.com>2016-10-28 09:19:40 -0400
commite51b9ee1e0f9b8aeef98b8875f66260db0e7b502 (patch)
tree8f32a3de7032b97bddd0c34377f9f6988c1ab336 /include
parented10ef9ede3d397672239c3b3dbe42cc6fbe56b4 (diff)
parent0a8654a125fad2961039e614fd10f1f683c0001f (diff)
npc dialog
Diffstat (limited to 'include')
-rw-r--r--include/components.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/components.hpp b/include/components.hpp
index 474a0eb..f2e040d 100644
--- a/include/components.hpp
+++ b/include/components.hpp
@@ -63,6 +63,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.
*/
@@ -201,7 +211,6 @@ struct Animate {
};
//TODO
-
struct Input {
};