Method | Description | |
---|---|---|
Camera ( ) : System | ||
ScreenToWorld ( Vector2 screenPosition ) : Vector2 | ||
Shake ( float magnitude, float duration ) : void | ||
Update ( |
Method | Description | |
---|---|---|
NextFloat ( ) : float | ||
UpdateViewBox ( ) : void |
public ScreenToWorld ( Vector2 screenPosition ) : Vector2 | ||
screenPosition | Vector2 | |
return | Vector2 |
public Shake ( float magnitude, float duration ) : void | ||
magnitude | float | |
duration | float | |
return | void |
public Update ( |
||
gameTime | ||
return | void |