public void Reset(Hero hero, List <IEnemyInstance> enemies) { Logger.Log($"Resetting battleground"); GameTurnManager.Reset(); CardManager.Reset(); CardEffectManager.Reset(); EnemyManager.Reset(); EnemyManager.Enemies = enemies; HeroManager.Reset(); HeroManager.Hero = hero; }
public GameWorldManager(Hero hero, List <IEnemyInstance> enemies) { Logger.Reset(this); CardEffectManager = new EffectManager(this); CardManager = new CardManager(this); GameTurnManager = new GameTurnManager(this); EventManager = new EventManager(); EnemyManager = new EnemyManager(this) { Enemies = enemies }; HeroManager = new HeroManager(this) { Hero = hero }; }