Esempio n. 1
0
        public void Update(float timeDelta, bool sceneActive)
        {
            // Don't update if we're not active, this is only so background stuff can be done if someone is in a non-safe UI
            if (!sceneActive)
            {
                return;
            }

            _entityManager.Update();
            _movementManager.Update(timeDelta);
        }
Esempio n. 2
0
        public void Update(GetMovementDto input)
        {
            Movement movement = Mapper.Map <GetMovementDto, Movement>(input);

            _movementManager.Update(movement);
        }