From a3db993224c994fdff6f50fedcc266c5e0b94aa8 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 10 Sep 2015 11:31:30 -0400 Subject: added entities --- src/entities.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/entities.cpp (limited to 'src') 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 + +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 -- cgit v1.2.3