diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-12-14 08:41:31 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-12-14 08:41:31 -0500 |
commit | 477e6cdde57a428b41e814943233d8b01f0db6bf (patch) | |
tree | 36f138c42215770bfe9da7400db29a0c57914507 /src/entities.cpp | |
parent | 43bbcf02fd5e4e69a9aa521fa4cd572cc8675cf3 (diff) |
arenas
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |