From c04deececfff78467ef0d974fa58376c7a761162 Mon Sep 17 00:00:00 2001 From: Sakse Dalum Date: Sun, 12 Aug 2012 20:46:44 +0200 Subject: [PATCH] Increased z component of door to make it seem more realistic when moving on its sides and entering. --- robotgame/block.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/robotgame/block.py b/robotgame/block.py index 6867348..1d9f565 100644 --- a/robotgame/block.py +++ b/robotgame/block.py @@ -240,7 +240,8 @@ class ColorWell(Block): class Door(Block): def __init__(self, level, x, y, movable=False, setting=False): self.__dict__.update(locals()) - worldobject.WorldObject.__init__(self, level, x, y, movable=movable) + worldobject.WorldObject.__init__(self, level, x, y, + z=32, movable=movable) self.frame = 0 self.anim_speed = 15