Ejemplo n.º 1
0
        public SessionService(PreSessionService preSessionService,
                              CharactersSettingsData settings, GameLoadingService gameLoading)
        {
            WorldData     = preSessionService.SelectedWorldData;
            MainCharacter = new Character(preSessionService.SelectedCharacterData);

            _loading = gameLoading;
        }
Ejemplo n.º 2
0
        public FailDetectorService(SessionService session, CharacterPhysicsService physicsService,
                                   CharactersSettingsData charactersSettings, UpdaterService updater)
        {
            _session            = session;
            _updater            = updater;
            _charactersSettings = charactersSettings;
            _physicsService     = physicsService;

            _updater.AddUpdater(Update);
        }