aboutsummaryrefslogtreecommitdiffstats
path: root/include/components/flash.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-06-13 21:01:08 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-06-13 21:01:08 -0400
commit316df0931c66e43e69f21bda28c77b9bdb1e8bca (patch)
treed98231e4b41d046a2a60ee9c6f1cc724a9e3837d /include/components/flash.hpp
parent11b8e727e04ed6095164bb826541409f88047625 (diff)
component reorginization; entity flashes
Diffstat (limited to 'include/components/flash.hpp')
-rw-r--r--include/components/flash.hpp15
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_