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

        controller.QueueUpCommand(command);
    }