public PlayerState(HRPlayer Player) { this.Player = Player; TauntMinions = GetTauntMinions(); AttackableMinions = GetAttackableMinions(); ReadyMinions = GetReadyMinions(); ChargeMinions = GetChargeMinions(); Minions = Player.GetNumFriendlyMinionsInPlay(); Health = Player.GetHero().GetRemainingHP() + Player.GetHero().GetArmor(); Mana = Player.GetNumAvailableResources(); }
public PlayerState(HRPlayer Player) { this.Player = Player; TauntMinions = GetTauntMinions(); AttackableMinions = GetAttackableMinions(); ReadyMinions = GetReadyMinions(); ChargeMinions = GetChargeMinions(); Minions = Player.GetNumFriendlyMinionsInPlay(); Health = Player.GetHero().GetRemainingHP() + Player.GetHero().GetArmor(); Mana = Player.GetNumAvailableResources(); }