コード例 #1
0
 protected bool stepInternal(Battle battle)
 {
     return true;
 }
コード例 #2
0
        public bool Step(Battle battle)
        {
            if (IsDisabled) {
                return true;
            }

            return stepInternal(battle);
        }
コード例 #3
0
        public bool Step(Battle battle)
        {
            if (IsDisabled) {
                return true;
            }

            target = findTarget(battle);
            if (target == null) {
                return false;
            }

            if (Team.IsFriendly(target.Team)) {
                if (ChildrenCount() == 0) {
                    link(target);
                } else {
                    support(target);
                }
            } else {
                attack(target);
            }

            target = null;
            return false;
        }
コード例 #4
0
 protected virtual Fighter findTarget(Battle battle)
 {
     return null;
 }
コード例 #5
0
 protected bool stepInternal(Battle battle)
 {
     return(true);
 }