프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DrawBorder | void |
메소드 | 설명 | |
---|---|---|
CenterTile ( int tileX, int tileY ) : void |
Will center terrain at specified coordinates. (in tiles)
|
|
Draw ( |
Draws the loaded chunks visible in the viewport
|
|
Initialize ( ) : void |
Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
|
|
LoadChunk ( float chunkX, float chunkY ) : void |
Load a chunk at specified x and y position (in chunks)
|
|
LoadContent ( ) : void |
Loads terrain tiles
|
|
PlaneManager ( |
||
ScreenToTile ( |
Converts screen rectangle into tiles
|
|
TileToScreen ( System tileRect ) : |
Converts tile rectangle into screen position.
|
|
Update ( |
Updates chunk states.
|
메소드 | 설명 | |
---|---|---|
DrawBorder ( |
Will draw a border (hollow rectangle) of the given 'thicknessOfBorder' (in pixels) of the specified color. By Sean Colombo, from http://bluelinegamestudios.com/blog
|
public Draw ( |
||
gameTime | ||
리턴 | void |
public LoadChunk ( float chunkX, float chunkY ) : void | ||
chunkX | float | |
chunkY | float | |
리턴 | void |
public ScreenToTile ( |
||
screenRect | ||
리턴 | System.Drawing.RectangleF |
public TileToScreen ( System tileRect ) : |
||
tileRect | System | |
리턴 |
public Update ( |
||
gameTime | ||
리턴 | void |