public CombatNodeBuilder(CombatNodeFactory factory) { this.mFactory = factory; this.mWeaponIndex = -1; this.mUseBuffs = true; this.mUseEquipment = true; }
// setup variables public BattleEntity(Character character, BattleEntityDelegate listener) { mStatusEffectManager = new StatusEffectClient(this); mCombatNodeFactory = new CombatNodeFactory (this); mListener = listener; turnState = new TurnState(this); this.character = character; this.maxHP = character.maxHP; this.currentHP = character.curHP; }