diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-10 15:24:39 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-10 15:24:39 -0400 |
commit | becacb292c902bbbc55a196ba824a9ff678481ff (patch) | |
tree | 1885ddde08fe17ac3a1dd5706bf0cfb27a1a47df /src/entities.cpp | |
parent | 1a3f4ac5ac12700757d2558ee06f202ad43aa841 (diff) | |
parent | 22fd8623af3f57c4e28f43f793bae4d14948abc0 (diff) |
fixed
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 53 |
1 files changed, 38 insertions, 15 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 5e86b72..1b8861a 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -1,16 +1,39 @@ -#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;
-}
-
+<<<<<<< HEAD +#include <entities.h> + +void Entities::spawn(float x, float y){ + loc.x = x; + loc.y = y; + loci.x = loc.x; + loci.y = loc.y; + vel.x = 0; + vel.y = 0; + velg.x = 0; + velg.y = 0; +} + +Player::Player(){ + width = HLINE * 6; + height = HLINE * 16; + speed = 1; + 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 |