diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-03 22:32:32 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-03 22:32:32 +0100 |
commit | 3d3f0107b7b328a9a68159edc7890cc43aa34926 (patch) | |
tree | e2d80aeb851803b159a34b7ae85a161b65527b3f /src/entity.hpp | |
parent | balls move yknow (diff) | |
download | threshold-3d3f0107b7b328a9a68159edc7890cc43aa34926.tar.gz threshold-3d3f0107b7b328a9a68159edc7890cc43aa34926.tar.bz2 threshold-3d3f0107b7b328a9a68159edc7890cc43aa34926.tar.xz threshold-3d3f0107b7b328a9a68159edc7890cc43aa34926.tar.zst threshold-3d3f0107b7b328a9a68159edc7890cc43aa34926.zip |
move to entity and add player
Diffstat (limited to 'src/entity.hpp')
-rw-r--r-- | src/entity.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/entity.hpp b/src/entity.hpp new file mode 100644 index 0000000..49d98b6 --- /dev/null +++ b/src/entity.hpp @@ -0,0 +1,15 @@ +#ifndef ENEMY_H_ +#define ENEMY_H_ + +#include "window.hpp" + +class Entity { + public: + float posX; + float posY; + Vector2 direction; + Entity(); + ~Entity(); +}; + +#endif // ENEMY_H_ |