Ejemplo n.º 1
0
        public CharacterControlsService(Character mainCharacter, UpdaterService updater)
        {
            _mainCharacter = mainCharacter;
            _updater       = updater;

            _updater.AddUpdater(Update);
        }
Ejemplo n.º 2
0
        public CharacterPhysicsService(PhysicSettingsData physicSettingsData, UpdaterService updater)
        {
            _physicSettingsData = physicSettingsData;
            _updater            = updater;

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

            _updater.AddUpdater(Update);
        }