diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-28 09:19:40 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-28 09:19:40 -0400 |
commit | e51b9ee1e0f9b8aeef98b8875f66260db0e7b502 (patch) | |
tree | 8f32a3de7032b97bddd0c34377f9f6988c1ab336 /include | |
parent | ed10ef9ede3d397672239c3b3dbe42cc6fbe56b4 (diff) | |
parent | 0a8654a125fad2961039e614fd10f1f683c0001f (diff) |
npc dialog
Diffstat (limited to 'include')
-rw-r--r-- | include/components.hpp | 11 |
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 { }; |