summaryrefslogtreecommitdiffhomepage
path: root/Flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'Flash.h')
-rw-r--r--Flash.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Flash.h b/Flash.h
new file mode 100644
index 0000000..58cd547
--- /dev/null
+++ b/Flash.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <raylib.h>
+
+
+struct Flash
+{
+ Flash();
+ void update(float dt);
+ void draw();
+ void start();
+ Color m_color;
+ float m_duration;
+ float m_flash;
+};