/// <summary> /// Initializes a new instance of the <see cref="T:System.Object"/> class. /// </summary> public ScreenBattle(IScreenLoader screenLoader, IWindowQueuer windowQueuer, IPhase startPhase, BattleData battleData) : base(screenLoader) { this.windowQueuer = windowQueuer; this.battleData = battleData; currentPhase = startPhase; windowBattle = new WindowBattle(new Vector2(0, 113), 240, 45); }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object"/> class. /// </summary> public ScreenWorld(IScreenLoader screenLoader, ITileLoader tileLoader, IEntityLoader entityLoader, EventRunner eventRunner) : base(screenLoader) { this.tileLoader = tileLoader; this.entityLoader = entityLoader; this.eventRunner = eventRunner; worldObjects = new List <WorldObject>(); eventSwitchHandler = new EventSwitchHandler(); eventSwitchHandler.AddEventSwitch(new EventSwitch { Id = 1, Name = "Test", On = false }); }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object"/> class. /// </summary> protected Screen(IScreenLoader screenLoader) { this.ScreenLoader = screenLoader; }