Gruppe22.Client.Camera.Move C# (CSharp) Méthode

Move() public méthode

Move the Camera by a specified amount vertically and horizontally
public Move ( Vector2 amount ) : void
amount Vector2 The number of pixels to move the camera
Résultat void
        public void Move(Vector2 amount)
        {
            _position += amount;
        }