C# Class Shooter.Controls.Camera

Exibir arquivo 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_oe property

public Coord camPos
return Coord

screenShake public_oe property

public bool screenShake
return bool

shakeDur public_oe property

public int shakeDur
return int

xOffset public_oe property

public int xOffset
return int

yOffset public_oe property

public int yOffset
return int