Beispiel #1
0
        internal void Move(GameTime gameTime)
        {
            Vector2 direction       = playerInput.GetMoveDirection();
            Vector2 positionChanged = direction * speed * (Single)gameTime.ElapsedGameTime.TotalSeconds;

            Position += positionChanged;
            //ChooseSpriteFromDirection(direction);
        }