Saner default starting pos
authorNeil <neil@dip.sun.ac.za>
Fri, 4 Mar 2016 21:24:17 +0000 (23:24 +0200)
committerNeil <neil@dip.sun.ac.za>
Fri, 4 Mar 2016 21:24:17 +0000 (23:24 +0200)
koperkapel/gamelib/level.py

index 44dd0525ce8a49003cb18a17ef33f0e72106a1e8..8c93baabb6533feb99f1f7ed50cbc547a28724d7 100644 (file)
@@ -7,7 +7,7 @@ class Level(object):
         self.width = self.height = 0
         self.tiles = []
         self.tileset = None
-        self.start_pos = None
+        self.start_pos = (0, 0)
 
     def get_neighbors(self, x, y):
         # 4 -connected neighbors