Gruppe22.Client.Camera.Move C# (CSharp) Method

Move() public method

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
return void
        public void Move(Vector2 amount)
        {
            _position += amount;
        }