summaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authortom <tombarrett@siu.edu>2017-01-14 11:56:33 -0600
committertom <tombarrett@siu.edu>2017-01-14 11:56:33 -0600
commitf2f0867edd0d9624a77e4e5db39825b8ea1a55d0 (patch)
tree1ead1fa412bd7c2e791310c7cb7bbe84c79696a4 /src/entity.cpp
parentb97a54b8acd113e99871fdb0f683e27e0912bf42 (diff)
completly remove location structure and replaced it with sdl_rect
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index ff6799e..6ad0e3f 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -1,19 +1,5 @@
#include "entity.hpp"
-void Entity::Init(Window m)
-{
- renderer = m.getRenderer();
- rect.y = rand()%WINDOW_Y;
- rect.x = rand()%WINDOW_X;
-}
-
-void Entity::Init(Window m, Location z)
-{
- renderer = m.getRenderer();
- rect.y = z.y;
- rect.x = z.x;
-}
-
void Entity::Place()
{
if(type == 1)