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/flash.hpp | |
parent | 11b8e727e04ed6095164bb826541409f88047625 (diff) |
component reorginization; entity flashes
Diffstat (limited to 'include/components/flash.hpp')
-rw-r--r-- | include/components/flash.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/components/flash.hpp b/include/components/flash.hpp new file mode 100644 index 0000000..e53c41c --- /dev/null +++ b/include/components/flash.hpp @@ -0,0 +1,15 @@ +#ifndef COMPONENTS_FLASH_HPP_ +#define COMPONENTS_FLASH_HPP_ + +#include <color.hpp> + +struct Flash +{ + Flash(Color c, int _ms = 500) + : color(c), ms(_ms), totalMs(_ms) {} + + Color color; + int ms, totalMs; +}; + +#endif // COMPONENTS_FLASH_HPP_ |