diff options
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 1cf2a32..1b8861a 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -1,3 +1,4 @@ +<<<<<<< HEAD #include <entities.h> void Entities::spawn(float x, float y){ @@ -18,4 +19,21 @@ Player::Player(){ type = 0; } +======= +#include <entities.h> + +void Entities::spawn(float x, float y){ + loc.x = x; + loc.y = y; + +} + +Player::Player(){ + width = 24; + height = 42; + speed = 1; + type = 0; +} + +>>>>>>> origin/master Player::~Player(){}
\ No newline at end of file |