//private CharacterUnit _player; //private List<EnemyNPCUnit> _enemies; //private List<Ability> _abilities; //Timeoutable public Engine(IUserInputInterface givenController, IPaintInterface painter, int timeInterval) { this._controller = givenController; this._painter = painter; this._timeInterval = timeInterval; //test RegionEntities.IntantiateClass(this._painter); this.regionEntities = RegionEntities.GetInstance(); //endTest SubscribeToController(); }
public static void IntantiateClass(IPaintInterface painter) { instance = new RegionEntities(painter); instance.SetupFirstRegion(); }