laneya

multiplayer roguelike game
git clone https://git.ce9e.org/laneya.git

commit
a2ad45eaaeb43e0d180c0f40495bbc74d66bc340
parent
ebcc3f3475b73e5a8c7c87d0d659fffd2df4f75b
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2014-11-01 10:40
add floor_layer to map

Diffstat

M laneya/map.py 2 ++

1 files changed, 2 insertions, 0 deletions


diff --git a/laneya/map.py b/laneya/map.py

@@ -23,6 +23,8 @@ class Map(object):
   23    23         self.sprites = {}
   24    24         self.movable_layer = [
   25    25             [None for i in xrange(height)] for i in xrange(width)]
   -1    26         self.floor_layer = [
   -1    27             [None for i in xrange(height)] for i in xrange(width)]
   26    28         self.ghost = Ghost('example', self, 15, 15)
   27    29 
   28    30     def step(self):