Add first version of snake.
This commit is contained in:
parent
01e4afd552
commit
3c64cf8228
@ -12,3 +12,7 @@ class Window:
|
|||||||
def reset(self):
|
def reset(self):
|
||||||
self.__surface.fill(self.__color)
|
self.__surface.fill(self.__color)
|
||||||
|
|
||||||
|
|
||||||
|
def draw_object(self, game_object):
|
||||||
|
game_object.draw(self.__surface)
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user