public Game(List<Player> players, Difficulty difficulty, Type type, MapProvider mapProvider) { m_players = players; m_difficulty = difficulty; m_type = type; m_mapProvider = mapProvider; }
public void InitGame() { MapProvider mapProvider = new MapProvider(MapProvider.MapName.Norway); List<Player> players = new List<Player>(); Player playerOne = new Player("knut"); Player playerTwo = new Player("kari"); players.Add(playerOne); players.Add(playerTwo); m_game = new Game(players, Game.Difficulty.easy, Game.Type.none, mapProvider); m_game.LoadGame(); m_ch = new CoordinateHandler(m_game); }