示例#1
0
 public override void RightAction(BattleAllyCommandSelector owner)
 {
     commandId += 3;
     if( commandId >= 6 )
     {
         commandId -= 6;
     }
     BroadcastMessage( SceneRootBase.Root, MessageConstants.ModifiedCommandIdMessage, commandId );
 }
示例#2
0
        public override void UpAction(BattleAllyCommandSelector owner)
        {
            commandId -= 1;
            if( commandId == -1 )
            {
                commandId = this.max - 1;
            }

            BroadcastMessage( SceneRootBase.Root, MessageConstants.ModifiedCommandIdMessage, commandId );
        }
示例#3
0
        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 );
        }
示例#4
0
 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 );
 }
示例#5
0
        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 );
        }
示例#6
0
 public override void RightAction(BattleAllyCommandSelector owner)
 {
 }
示例#7
0
 public override void Enter(BattleAllyCommandSelector owner)
 {
     base.Enter (owner);
     this.max = owner.EnemyPartyManager.GroupCount;
 }
示例#8
0
 public override void DecisionAction(BattleAllyCommandSelector owner)
 {
     owner.DecideEnemyCommand( commandId );
 }
示例#9
0
 public override void CancelAction(BattleAllyCommandSelector owner)
 {
     owner.Cancel();
 }
示例#10
0
 private int ConvertCommandType( BattleAllyCommandSelector owner )
 {
     return commandId;
 }
示例#11
0
 public override void CancelAction(BattleAllyCommandSelector owner)
 {
     Development.TODO( "キャンセル処理の実装" );
 }
示例#12
0
 public override void Enter(BattleAllyCommandSelector owner)
 {
     base.Enter (owner);
 }