From 316df0931c66e43e69f21bda28c77b9bdb1e8bca Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 13 Jun 2017 21:01:08 -0400 Subject: component reorginization; entity flashes --- include/components/hop.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/components/hop.hpp (limited to 'include/components/hop.hpp') 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 -- cgit v1.2.3