C# Class SGDE.Camera

Camera control class.
Inheritance: SceneNode
Mostra file Open project: sgdc/sgdc-old

Public Methods

Method Description
Translate ( Vector2 translation ) : void

Translate the camera.

Private Methods

Method Description
Camera ( Viewport viewport ) : System
Update ( GameTime gameTime ) : void
UpdatePosition ( ) : void

Method Details

Translate() public method

Translate the camera.
public Translate ( Vector2 translation ) : void
translation Vector2 The translation for the camera.
return void