diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-06-13 21:01:08 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-06-13 21:01:08 -0400 |
commit | 316df0931c66e43e69f21bda28c77b9bdb1e8bca (patch) | |
tree | d98231e4b41d046a2a60ee9c6f1cc724a9e3837d /include/components/hop.hpp | |
parent | 11b8e727e04ed6095164bb826541409f88047625 (diff) |
component reorginization; entity flashes
Diffstat (limited to 'include/components/hop.hpp')
-rw-r--r-- | include/components/hop.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/components/hop.hpp b/include/components/hop.hpp new file mode 100644 index 0000000..f114265 --- /dev/null +++ b/include/components/hop.hpp @@ -0,0 +1,14 @@ +#ifndef COMPONENTS_HOP_HPP_ +#define COMPONENTS_HOP_HPP_ + +/** + * Causes the entity to hop around. + */ +struct Hop { + Hop(float r = 0) + : hopRatio(r) {} + + float hopRatio; +}; + +#endif // COMPONENTS_HOP_HPP |