public World() { Rng.Seed(0); Status = WorldStatus.Created; TagManager = new TagManager <string>(); GroupManager = new GroupManager <string>(); EntityFactory = new EntityFactory(); EntityManager = new EntityManager(); Log = new GameLog(); EntityManager.EntityAdded += EntityManager_EntityAdded; EntityManager.EntityRemoved += EntityManager_EntityRemoved; ItemFactory.Init(EntityFactory); FeatureFactory.Init(EntityFactory); PersonFactory.Init(EntityFactory); TestEntityFactory.Init(EntityFactory); EntityFactory.Compile(); MapFactory = new MapFactory(this); Calendar = new Calendar(); CalendarEntity = EntityManager.Create(new List <Component> { new ControllerComponent(Calendar, new AP(World.OneSecondInSpeed / 2)) }); // ActionProcessed += World_ActionProcessed; }