From f2f0867edd0d9624a77e4e5db39825b8ea1a55d0 Mon Sep 17 00:00:00 2001 From: tom Date: Sat, 14 Jan 2017 11:56:33 -0600 Subject: completly remove location structure and replaced it with sdl_rect --- src/entity.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/entity.cpp') 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) -- cgit v1.2.3