diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-10 11:31:30 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-10 11:31:30 -0400 |
commit | a3db993224c994fdff6f50fedcc266c5e0b94aa8 (patch) | |
tree | 74d24408ecd5479b2d9cb57d7d904f0336556abe /src | |
parent | 3fde0e7edf310245e5658b767840e742c9341597 (diff) |
added entities
Diffstat (limited to 'src')
-rw-r--r-- | src/entities.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp new file mode 100644 index 0000000..5e86b72 --- /dev/null +++ b/src/entities.cpp @@ -0,0 +1,16 @@ +#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;
+}
+
+Player::~Player(){}
\ No newline at end of file |