Property | Type | Description | |
---|---|---|---|
Grid | ].int[ | ||
tileX | int |
Method | Description | |
---|---|---|
AddStationary ( |
||
Draw ( ) : void |
Draws the tile into view.
|
|
Initialize ( |
Separated from constructor for deserialization.
|
|
MapTile ( ) : System |
Empty contructor for deserialization.
|
|
MapTile ( |
Default contructor.
|
|
RelativeGridPos ( int x, int z ) : int |
Method | Description | |
---|---|---|
AddSquare ( IDictionary |
Adds a square to the list of vertices.
|
|
AddSquareVertices ( List |
Adds the square to a given list with wanted coordinates.
|
|
SetUpTextures ( ) : void |
Sets up the possible textures
|
|
SetUpVertices ( ) : void |
Sets up the tile's vertices.
|
public AddStationary ( |
||
stationary | ||
return | void |
public Initialize ( |
||
game | the XNA game | |
gameState | InGame gamestate | |
return | void |
public MapTile ( |
||
game | the XNA game | |
gameState | InGame gamestate | |
x | int | |
z | int | |
grid | int | |
return | System |
public RelativeGridPos ( int x, int z ) : int | ||
x | int | |
z | int | |
return | int |