Property | Type | Description | |
---|---|---|---|
bgLayers | List |
||
spawnPointPositions | List |
Method | Description | |
---|---|---|
BuildWorld ( |
||
GameWorld ( PlatformGame game ) : System | ||
IsInBounds ( Vector2 position ) : bool | ||
IsPlaceFreeOfWalls ( |
||
PixelsToTiles ( Vector2 worldCoords ) : Vector2 | ||
TilesToPixels ( Vector2 tiles ) : Vector2 | ||
Update ( |
Method | Description | |
---|---|---|
IsInBoundsLeft ( Vector2 position ) : bool | ||
IsInBoundsRight ( Vector2 position ) : bool | ||
TilesToPixels ( |
||
TilesToPixels ( int tileX, int tileY ) : Vector2 | ||
TilesToPixels ( int tiles ) : int |
public BuildWorld ( |
||
data | ||
return | void |
public GameWorld ( PlatformGame game ) : System | ||
game | PlatformGame | |
return | System |
public IsInBounds ( Vector2 position ) : bool | ||
position | Vector2 | |
return | bool |
public IsPlaceFreeOfWalls ( |
||
collisionRectangle | ||
return | bool |
public static PixelsToTiles ( Vector2 worldCoords ) : Vector2 | ||
worldCoords | Vector2 | |
return | Vector2 |
public static TilesToPixels ( Vector2 tiles ) : Vector2 | ||
tiles | Vector2 | |
return | Vector2 |
public Update ( |
||
gameTime | ||
return | void |