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; }
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; }
public Character() { Reset(); battleInfo = null; }