projects
/
erdslangetjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923e661
)
pep8 cleanup
author
Neil
<neil@dip.sun.ac.za>
Wed, 17 Apr 2013 11:31:51 +0000
(13:31 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Wed, 17 Apr 2013 11:31:51 +0000
(13:31 +0200)
erdslangetjie/level.py
patch
|
blob
|
history
diff --git
a/erdslangetjie/level.py
b/erdslangetjie/level.py
index 4458245a4156c7ab63f866fcc6ba916d2fcc3769..925974cf5dcdd6bdff124027a0ac10a0a582310b 100644
(file)
--- a/
erdslangetjie/level.py
+++ b/
erdslangetjie/level.py
@@
-55,7
+55,7
@@
class Level(object):
def get_wall_tile(self, x, y):
# Is the neighbour in this direction also a wall?
- left = right = top =
bottom = False
+ left = right = top = bottom = False
if x == 0:
left = True
elif self.data[y][x - 1] == WALL:
@@
-104,7
+104,6
@@
class Level(object):
return load_image('tiles/end_left.png')
return load_image('tiles/pillar.png')
-
def blocked(self, pos):
if pos[0] < 0:
return True