Spawn a random amount of squirrels on the map
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import sys
|
||||
from random import randint
|
||||
from typing import Any
|
||||
|
||||
from .entities.player import Player
|
||||
@ -51,6 +52,7 @@ class Game:
|
||||
self.player = Player()
|
||||
self.player.move(1, 6)
|
||||
self.map.add_entity(self.player)
|
||||
self.map.spawn_random_entities(randint(1, 5))
|
||||
|
||||
@staticmethod
|
||||
def load_game(filename: str) -> None:
|
||||
|
Reference in New Issue
Block a user