diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-30 21:02:26 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-30 21:02:26 -0400 |
commit | b06afc53ce5fa36544218b524f963725bf180fc1 (patch) | |
tree | 80a0bb7294b36121ca40e98eee1d424c707b3cd2 /src/world.cpp | |
parent | 67b62dde3dfd4fddba82940894f5b3416eee4c06 (diff) |
holes
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp index 2a0e471..5ba2e7d 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -239,6 +239,13 @@ World *World::goInsideStructure(Player *p){ return this; } +void World::addHole(unsigned int start,unsigned int end){ + unsigned int i; + for(i=start;i<end;i++){ + line[i].y=0; + } +} + IndoorWorld::IndoorWorld(void){ |