Beispiel #1
0
 public WorldManager(World defaultWorld)
 {
     _worlds = new Dictionary<string, World>();
     _defaultWorld = defaultWorld.Name;
     _currentWorld = _defaultWorld;
     AddWorld(defaultWorld);
     CurrentWorld.Initialize();
 }
Beispiel #2
0
 public void AddWorld(World world)
 {
     _worlds[world.Name] = world;
     world.EndWorld += WorldEndedHandler;
 }