Method | Description | |
---|---|---|
CenterCameraOnScreenPosition ( float x, float y ) : void | ||
CenterCameraOnWorldPosition ( float x, float y ) : void | ||
GetScreenPosition ( Vector2 worldPosition ) : Vector2 | ||
GetWorldPosition ( Vector2 screenPosition ) : Vector2 | ||
SetWorldSize ( float x, float y ) : void | ||
Update ( |
public static CenterCameraOnScreenPosition ( float x, float y ) : void | ||
x | float | |
y | float | |
return | void |
public static CenterCameraOnWorldPosition ( float x, float y ) : void | ||
x | float | |
y | float | |
return | void |
public static GetScreenPosition ( Vector2 worldPosition ) : Vector2 | ||
worldPosition | Vector2 | |
return | Vector2 |
public static GetWorldPosition ( Vector2 screenPosition ) : Vector2 | ||
screenPosition | Vector2 | |
return | Vector2 |
public static SetWorldSize ( float x, float y ) : void | ||
x | float | |
y | float | |
return | void |
public static Update ( |
||
gameTime | ||
return | void |