C# Class MyPolarBear.Camera

Show file Open project: sgdc/sgdc-old

Public Methods

Method Description
Camera ( GraphicsDevice graphicsDevice, bool isFocused ) : System
FollowEntity ( ) : void
GetPosition ( ) : Vector2
Rotate ( float amount ) : void
Translate ( Vector2 amount ) : void
Update ( ) : void
Zoom ( float amount ) : void

Method Details

Camera() public method

public Camera ( GraphicsDevice graphicsDevice, bool isFocused ) : System
graphicsDevice GraphicsDevice
isFocused bool
return System

FollowEntity() public method

public FollowEntity ( ) : void
return void

GetPosition() public method

public GetPosition ( ) : Vector2
return Vector2

Rotate() public method

public Rotate ( float amount ) : void
amount float
return void

Translate() public method

public Translate ( Vector2 amount ) : void
amount Vector2
return void

Update() public method

public Update ( ) : void
return void

Zoom() public method

public Zoom ( float amount ) : void
amount float
return void