Esempio n. 1
0
        public void Execute(float deltaTime)
        {
            if (_acceleration.IsKeyDown())
            {
                _ship.AddAcceleration();
            }

            if (_acceleration.IsKeyUp())
            {
                _ship.RemoveAcceleration();
            }
        }