diff options
author | Andy Belle-Isle <abelleisle@roadrunner.com> | 2015-09-10 11:51:56 -0400 |
---|---|---|
committer | Andy Belle-Isle <abelleisle@roadrunner.com> | 2015-09-10 11:51:56 -0400 |
commit | 22fd8623af3f57c4e28f43f793bae4d14948abc0 (patch) | |
tree | c4936680f4cffd0d52e4d96aed39404fdaa30a52 /include/entities.h | |
parent | dfb65f04b8579c9c4e24086452474adcae9b87b7 (diff) | |
parent | a3db993224c994fdff6f50fedcc266c5e0b94aa8 (diff) |
Merge remote-tracking branch 'origin/master'
d
Conflicts:
include/World.h
include/common.h
include/entities.h
src/UIClass.cpp
src/World.cpp
src/entities.cpp
src/main.cpp
Diffstat (limited to 'include/entities.h')
-rw-r--r-- | include/entities.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h index cb10bcf..89d9ec3 100644 --- a/include/entities.h +++ b/include/entities.h @@ -1,3 +1,4 @@ +<<<<<<< HEAD #ifndef ENTITIES_H #define ENTITIES_H @@ -26,4 +27,31 @@ public: ~Player(); }; +======= +#ifndef ENTITIES_H +#define ENTITIES_H + +#include <common.h> + + +class Entities{ +public: + float width; + float height; + float speed; + int type; + vec2 loc; + + void spawn(float, float); + + +}; + +class Player : public Entities{ +public: + Player(); + ~Player(); +}; + +>>>>>>> origin/master #endif //ENTITIES_H
\ No newline at end of file |