public GameHost(BotDifficult difficult, GameObject container) //Offline mode { ContainerPrefab = container; _botDifficult = difficult; _player = new Online.Player("Local player", 1, true); Initialize(GameType.Offline); }
public GameHost(Room room, Online.Player player, GameObject container) //TODO: Mark room as closed (send request to the server); //Online mode { ContainerPrefab = container; _room = room; _player = player; Initialize(GameType.Online); }
public void SetOnlineHost(Room room, Online.Player player) { var gamehost = new GameHost(room, player, GameContainerPrefab); }