Exemplo n.º 1
0
    void HandleOnSetPlayerBattleAction(BattleSoloPlayerActionManager.PlayerAction p_playerAction, ShipGun p_foeShipGun)
    {
        if (playerShipManager.selectedShipGun.selectionStatus == ShipGun.SelectionStatus.IDLE)
        {
            BattleSoloBattleManager.BattleTurnInfo __battleTurnInfo = new BattleSoloBattleManager.BattleTurnInfo(battleManager.actionIdGiver, p_playerAction, new object[2] {
                playerShipManager.selectedShipGun,
                p_foeShipGun
            });

            battleManager.SetPlayerBattleAction(__battleTurnInfo, playerShipManager.GetTotalActionsBonus() + _startActionsAvaliable);
        }
    }
Exemplo n.º 2
0
 public BattleTurnInfo(int p_id, BattleSoloPlayerActionManager.PlayerAction p_playerAction, object[] p_actionData)
 {
     this.id = p_id;
     this.playerAction = p_playerAction;
     this.actionData = p_actionData;
 }
Exemplo n.º 3
0
 public BattleTurnInfo(int p_id, BattleSoloPlayerActionManager.PlayerAction p_playerAction, object[] p_actionData)
 {
     this.id           = p_id;
     this.playerAction = p_playerAction;
     this.actionData   = p_actionData;
 }