C# Class Shooter.Controls.Camera

Afficher le fichier Open project: JoeyTheAsian/Just-Force Class Usage Examples

Méthodes publiques

Свойство Type Description
camPos Coord
screenShake bool
shakeDur int
xOffset int
yOffset int

Méthodes publiques

Méthode 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 méthode

public Camera ( int w, int h ) : Shooter.MapClasses
w int
h int
Résultat Shooter.MapClasses

UpdateCamera() public méthode

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
Résultat void

Property Details

camPos public_oe property

public Coord camPos
Résultat Coord

screenShake public_oe property

public bool screenShake
Résultat bool

shakeDur public_oe property

public int shakeDur
Résultat int

xOffset public_oe property

public int xOffset
Résultat int

yOffset public_oe property

public int yOffset
Résultat int