|
@@ -59,6 +59,7 @@ func spawn(newGrid, newPosition, newOrientation):
|
|
grid = newGrid
|
|
grid = newGrid
|
|
|
|
|
|
# Adjust spawn situation
|
|
# Adjust spawn situation
|
|
|
|
+ dire_delta = 0
|
|
posix = int (newPosition.x / cell_size)
|
|
posix = int (newPosition.x / cell_size)
|
|
posiy = int (newPosition.y / cell_size)
|
|
posiy = int (newPosition.y / cell_size)
|
|
dire = int((newOrientation + 45) / 90)
|
|
dire = int((newOrientation + 45) / 90)
|