public Game(IPlayer player) { TurnNumber = 0; _locations = new GameLocations(this); _events = new GameEvents(); CurrentPhase = new NotStarted(this); _players = new List <IPlayer>(); _startingPlayer = player; }
public Map() { Obstacles = new List <Obstacle>(); PowerUps = new PowerUpCollection(); Width = 1000; Height = 969; Level = LevelFactory.CreateLevel(); Snakes = new List <SnakeBody>(); Scores = new List <Score>(); gameState = new NotStarted(); ClearMap(); }