// 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; }
public StatusEffectNode(StatusEffectClient manager) { this.parent = manager; }