Example #1
0
File: World.cs Project: ndech/Alpha
 internal World(List<Notification> dailyNotifications, List<Notification> liveNotifications, DataLock dataLock)
 {
     _dailyNotifications = dailyNotifications;
     _liveNotifications = liveNotifications;
     _datalock = dataLock;
     EventManager = new EventManager(this);
     RealmManager = new RealmManager(this);
     FleetManager = new FleetManager(this);
     ProvinceManager = new ProvinceManager(this);
     CharacterManager = new CharacterManager(this);
     Calendar = new Calendars.Calendar(this);
     Managers = new List<Manager> { Calendar, FleetManager, RealmManager, ProvinceManager, CharacterManager };
     Managers.ForEach(m=>m.Initialize());
 }
Example #2
0
File: World.cs Project: ndech/Alpha
 internal World(List <Notification> dailyNotifications, List <Notification> liveNotifications, DataLock dataLock)
 {
     _dailyNotifications = dailyNotifications;
     _liveNotifications  = liveNotifications;
     _datalock           = dataLock;
     EventManager        = new EventManager(this);
     RealmManager        = new RealmManager(this);
     FleetManager        = new FleetManager(this);
     ProvinceManager     = new ProvinceManager(this);
     CharacterManager    = new CharacterManager(this);
     Calendar            = new Calendars.Calendar(this);
     Managers            = new List <Manager> {
         Calendar, FleetManager, RealmManager, ProvinceManager, CharacterManager
     };
     Managers.ForEach(m => m.Initialize());
 }