private void InitialiseControllers() { gameBehaviourCommandController = new GameBehaviourCommandController(playerType); resourceController = new ResourceController(playerType); buildPlotController = new BuildPlotController(playerType); armyController = new ArmyController(playerType); gameLogController = new GameLogController(playerType); }
private void QueueUpCommand(GameBehaviourCommand command) { GameBehaviourCommandController controller = GameObject.Find("GameController").GetComponent <GameController>().GetPlayerModel(PlayerType.PLAYER).gameBehaviourCommandController; controller.QueueUpCommand(command); }