From 477e6cdde57a428b41e814943233d8b01f0db6bf Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 14 Dec 2015 08:41:31 -0500 Subject: arenas --- src/entities.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/entities.cpp') diff --git a/src/entities.cpp b/src/entities.cpp index 5c00cc7..15f120a 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -151,6 +151,10 @@ Mob::Mob(int sub){ width = HLINE * 20; height = 2000; tex = new Texturec(0); + case MS_DOOR: + width = HLINE * 10; + height = HLINE * 16; + tex = new Texturec(1,"assets/door.png"); break; } @@ -236,6 +240,7 @@ void Entity::draw(void){ //draws the entities goto NOPE; break; case MS_BIRD: + case MS_DOOR: default: tex->bind(0); break; @@ -437,6 +442,7 @@ void Mob::wander(int timeRun){ hey(this); } break; + case MS_DOOR: default: break; } -- cgit v1.2.3