메소드 | 설명 | |
---|---|---|
CurrentTile ( ) : |
||
Draw ( |
Draws the contents on screen
|
|
Initialize ( ) : void | ||
LiveGrid ( |
Creates a new live grid.
|
|
MoveTo ( Direction dir ) : void |
Moves to the given direction.
|
|
SetNewCenter ( int x, int z ) : void |
Sets new MapTile as the center of the LiveGrid.
|
|
UpdateToTile ( int x, int z ) : void |
Sets a new center for the grid if the given tile isn't current.
|
메소드 | 설명 | |
---|---|---|
UpdateGrid ( ) : void |
Updates the 9 tiles of the LiveGrid.
|
public Draw ( |
||
gameTime | ||
리턴 | void |
public LiveGrid ( |
||
game | ||
mapGrid | ||
리턴 | System |
public SetNewCenter ( int x, int z ) : void | ||
x | int | The centertile's x position in the MapGrid. |
z | int | The centertile's z position in the MapGrid. |
리턴 | void |