예제 #1
0
        public Battle(RandomGenerator random, Party party1, Party party2)
        {
            this.random = random;

            party    = new Party[2];
            party[0] = party1;
            party[1] = party2;

            curTurn      = 1;
            battleResult = PartyIndex.NONE;

            this.battleInfo = null;
        }
예제 #2
0
        public BattleAI(RandomGenerator random, short randomLevel, Character player, Party ally, Party enemy)
        {
//          decisions = new short[(int)ActionType.ActionTypeCount];
            decisions = new List <AIDecision>();
            ResetDecisions();

            this.random      = random;
            this.randomLevel = randomLevel;
            this.player      = player;
            this.ally        = ally;
            this.enemy       = enemy;

            this.battleInfo = null;
        }
예제 #3
0
 public Character()
 {
     Reset();
     battleInfo = null;
 }