public UserController(PlayerType playerType, BlockBoardStorage storage, BoardFactory boardFactory,
                       PlayGameState playGameState, ArmyText armyText, RoundEffects roundEffects)
 {
     this.playerType    = playerType;
     boardStorage       = storage;
     this.boardFactory  = boardFactory;
     this.playGameState = playGameState;
     this.armyText      = armyText;
     this.roundEffects  = roundEffects;
     roundEffects.Initialize(storage);
 }
Example #2
0
 public Castle(GameObject targetObject, PlayerType ownerType) : base(targetObject)
 {
     this.ownerType = ownerType;
     playGameState  = StateManager.Instance.CurrentState as PlayGameState;
 }