protected Enemy(String id, EnemyMetadata metadata, EnemyAi ai, EnemyStats stats, EnemyBattleLogic battleLogic) : base(id, stats, battleLogic) { Metadata = metadata; Ai = ai; //we should set their current health and energy to the max CurrentHealth = Stats.MaxHealth; CurrentEnergy = Stats.MaxEnergy; }
public static Enemy New(String id, EnemyMetadata metadata, EnemyAi ai, EnemyStats stats, EnemyBattleLogic battleLogic) { return new Enemy(id, metadata, ai, stats, battleLogic); }