Ejemplo n.º 1
0
 public void Initialize(IGraphicsDeviceManager graphics)
 {
     _appService.CreateAppDirectoryStructure();
     _dataService.Initialize();
     _graphicsService.Initialize((GraphicsDeviceManager)graphics);
     _uiService.Initialize((GraphicsDeviceManager)graphics);
     _screenService.ChangeScreen <MainMenuScreen>();
 }
Ejemplo n.º 2
0
 public void Initialize(IGraphicsDeviceManager graphics)
 {
     _objectMapper.Initialize();
     _appService.CreateAppDirectoryStructure();
     _dataService.Initialize();
     _networkService.StartServer(_settingsService.Port);
     _screenService.ChangeScreen<ServerScreen>();
     _systemLoader.LoadSystems();
 }
Ejemplo n.º 3
0
 private void OnCharacterAddedToWorldPacket(PacketBase p)
 {
     _screenService.ChangeScreen <GameScreen>();
 }
Ejemplo n.º 4
0
 public void Initialize(IGraphicsDeviceManager graphics)
 {
     _screenService.ChangeScreen <AreaEditorScreen>();
 }