示例#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);
 }
示例#2
0
    private void QueueUpCommand(GameBehaviourCommand command)
    {
        GameBehaviourCommandController controller = GameObject.Find("GameController").GetComponent <GameController>().GetPlayerModel(PlayerType.PLAYER).gameBehaviourCommandController;

        controller.QueueUpCommand(command);
    }