diff options
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 |