diff options
author | Aki <please@ignore.pl> | 2022-04-18 10:25:21 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-18 10:25:21 +0200 |
commit | 8209bbaf2a046199b9c65438fb4454ce01b42500 (patch) | |
tree | 7bddc234a27afe9e6443b41999edcf4fef56b74b /Player.h | |
parent | 162ab6e923cf0c065449cfc248102b5b92fac8a7 (diff) | |
download | bullethell2022-8209bbaf2a046199b9c65438fb4454ce01b42500.zip bullethell2022-8209bbaf2a046199b9c65438fb4454ce01b42500.tar.gz bullethell2022-8209bbaf2a046199b9c65438fb4454ce01b42500.tar.bz2 |
Exported player to own class
Diffstat (limited to 'Player.h')
-rw-r--r-- | Player.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Player.h b/Player.h new file mode 100644 index 0000000..f0d4d10 --- /dev/null +++ b/Player.h @@ -0,0 +1,12 @@ +#pragma once + +#include <raylib.h> + + +struct Player +{ + Player(); + void update(float dt); + void draw(); + Vector2 m_position; +}; |