public override void RightAction(BattleAllyCommandSelector owner) { commandId += 3; if( commandId >= 6 ) { commandId -= 6; } BroadcastMessage( SceneRootBase.Root, MessageConstants.ModifiedCommandIdMessage, commandId ); }
public override void UpAction(BattleAllyCommandSelector owner) { commandId -= 1; if( commandId == -1 ) { commandId = this.max - 1; } BroadcastMessage( SceneRootBase.Root, MessageConstants.ModifiedCommandIdMessage, commandId ); }
public override void UpAction(BattleAllyCommandSelector owner) { commandId -= 2; if( commandId < 0 ) { var allyAbilityListCount = BattleAllyPartyManager.Instance.Party.NoneCommandBattleMember.InstanceData.abilityList.Count; commandId += allyAbilityListCount; } BroadcastMessage( SceneRootBase.Root, MessageConstants.ModifiedCommandIdMessage, commandId ); }
public override void LeftAction(BattleAllyCommandSelector owner) { commandId -= 1; if( commandId < 0 ) { commandId = 1; } else if( (commandId % 2) == 1 ) { commandId += 2; } BroadcastMessage( SceneRootBase.Root, MessageConstants.ModifiedCommandIdMessage, commandId ); }
public override void DownAction(BattleAllyCommandSelector owner) { commandId += 1; if( commandId == 3 ) { commandId = 0; } else if( commandId == 6 ) { commandId = 3; } BroadcastMessage( SceneRootBase.Root, MessageConstants.ModifiedCommandIdMessage, commandId ); }
public override void RightAction(BattleAllyCommandSelector owner) { }
public override void Enter(BattleAllyCommandSelector owner) { base.Enter (owner); this.max = owner.EnemyPartyManager.GroupCount; }
public override void DecisionAction(BattleAllyCommandSelector owner) { owner.DecideEnemyCommand( commandId ); }
public override void CancelAction(BattleAllyCommandSelector owner) { owner.Cancel(); }
private int ConvertCommandType( BattleAllyCommandSelector owner ) { return commandId; }
public override void CancelAction(BattleAllyCommandSelector owner) { Development.TODO( "キャンセル処理の実装" ); }
public override void Enter(BattleAllyCommandSelector owner) { base.Enter (owner); }