More work on vaults

This commit is contained in:
simon
2018-03-01 10:42:24 -05:00
parent 039088ac00
commit 0ada6c29d4
9 changed files with 154 additions and 28 deletions

View File

@@ -6,6 +6,8 @@ public enum Action {
WALKING,
WITHDRAWING,
DEPOSITING,
LISTENING
LISTENING,
_PLACEHOLDER_,
ATTACKING,
}

View File

@@ -240,15 +240,13 @@ public class DebugHandler implements MessageHandler {
if (object instanceof Updatable) {
object.getWorld().decUpdatable();
world.incUpdatable();
}
object.getWorld().removeObject(object);
object.setWorld(world);
world.addObject(object);
if (object instanceof Updatable) {
world.incUpdatable();
}
object.setWorld(world);
object.setX(x);
object.setY(y);