project_game/gamefiles/snack.py

13 lines
186 B
Python

'''Sets up the snack object'''
class Snack:
character = "o"
color = "red"
snack=True
mine=False
def __init__(self,position):
self.position = position