C# Class Shooter.Controls.Camera

Show file Open project: JoeyTheAsian/Just-Force Class Usage Examples

Public Properties

Property Type Description
camPos Coord
screenShake bool
shakeDur int
xOffset int
yOffset int

Public Methods

Method Description
Camera ( int w, int h ) : Shooter.MapClasses
UpdateCamera ( int elapsedTime, double X, double Y, int tileSize, Coord mouse, Coord origin ) : void

Method Details

Camera() public method

public Camera ( int w, int h ) : Shooter.MapClasses
w int
h int
return Shooter.MapClasses

UpdateCamera() public method

public UpdateCamera ( int elapsedTime, double X, double Y, int tileSize, Coord mouse, Coord origin ) : void
elapsedTime int
X double
Y double
tileSize int
mouse Coord
origin Coord
return void

Property Details

camPos public property

public Coord camPos
return Coord

screenShake public property

public bool screenShake
return bool

shakeDur public property

public int shakeDur
return int

xOffset public property

public int xOffset
return int

yOffset public property

public int yOffset
return int