diff options
author | Aki <please@ignore.pl> | 2022-04-25 02:02:11 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-25 02:02:11 +0200 |
commit | e51044a8872a05313fa92cad15eedf1f93f26aee (patch) | |
tree | aeb0eb6866a1ee5de3088e5b1d47f227c321b1ea /Flash.h | |
parent | 858a17930e29e38f236e8b60d0199489f9df0a48 (diff) | |
download | bullethell2022-e51044a8872a05313fa92cad15eedf1f93f26aee.zip bullethell2022-e51044a8872a05313fa92cad15eedf1f93f26aee.tar.gz bullethell2022-e51044a8872a05313fa92cad15eedf1f93f26aee.tar.bz2 |
Moved flash to own class and used it as transition to death screen
Diffstat (limited to 'Flash.h')
-rw-r--r-- | Flash.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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; +}; |