generated from mwc/project_game
@chris need helo wuth health
This commit is contained in:
13
obstacle_spawner.py
Normal file
13
obstacle_spawner.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from random import randint
|
||||
from scene import Scene
|
||||
|
||||
class SceneSpawner:
|
||||
#display = false ?
|
||||
|
||||
def __init__(self, board_size):
|
||||
width, height = board_size
|
||||
self.board_width = width
|
||||
|
||||
def play_turn(self, game):
|
||||
game.state['score'] += 1
|
||||
|
||||
Reference in New Issue
Block a user