Property | Type | Description | |
---|---|---|---|
TileCount | int | ||
pathThread | System.Thread | ||
pathThreadExit | EventWaitHandle |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Draw ( ) : void | ||
GetTileForPlayer ( int playerNum ) : |
||
GetTileFromPos ( Vector3 position ) : |
Returns a Tile2 given a Vector3 position
|
|
GetTileFromType ( TileType tileType ) : |
||
GetTileIndexFromPos ( Vector3 position ) : int | ||
GetTileNeighbor ( |
Gets a neigbhoring Tile2's position
|
|
GetTilePosFromPos ( Vector3 position ) : Vector3 | ||
GetTowerInformationAtPosition ( Vector3 position ) : |
||
GetWalkableNeighbors ( |
||
GetWalkableNeighbors ( |
||
GetWalkableNeighborsInts ( |
||
InitializeTileMap ( Vector3 position, Vector2 numTiles, Vector2 tileSize ) : void | ||
IsTilePathsValid ( ) : bool | ||
IsTilePathsValidFor ( int newBlockableTile ) : bool | ||
RemoveTower ( |
||
SetBase ( |
||
SetBase ( |
||
SetObject ( |
||
SetObject ( |
||
SetTower ( |
||
SetTowerForLevelMap ( |
||
ThreadedTilePaths ( object indexToKill ) : void | ||
Update ( |
||
UpdateTilePaths ( ) : void |
Method | Description | |
---|---|---|
InitializeTiles ( ) : void |
Method | Description | |
---|---|---|
OnTowerCreated ( ) : void |
public static GetTileForPlayer ( int playerNum ) : |
||
playerNum | int | |
return |
public static GetTileFromPos ( Vector3 position ) : |
||
position | Vector3 | The position to investigate |
return |
public static GetTileFromType ( TileType tileType ) : |
||
tileType | TileType | |
return |
public static GetTileIndexFromPos ( Vector3 position ) : int | ||
position | Vector3 | |
return | int |
public static GetTileNeighbor ( |
||
Tile2 | The start Tile2 | |
neighborTile | NeighborTile | The neighbor to examine |
return |
public static GetTilePosFromPos ( Vector3 position ) : Vector3 | ||
position | Vector3 | |
return | Vector3 |
public static GetTowerInformationAtPosition ( Vector3 position ) : |
||
position | Vector3 | |
return |
public static GetWalkableNeighbors ( |
||
Tile2 | ||
return | List |
public static GetWalkableNeighbors ( |
||
tile | ||
exclude | Tile>.Dictionary | |
return | List |
public static GetWalkableNeighborsInts ( |
||
Tile2 | ||
return | List |
public static InitializeTileMap ( Vector3 position, Vector2 numTiles, Vector2 tileSize ) : void | ||
position | Vector3 | |
numTiles | Vector2 | |
tileSize | Vector2 | |
return | void |
public static IsTilePathsValidFor ( int newBlockableTile ) : bool | ||
newBlockableTile | int | |
return | bool |
public static RemoveTower ( |
||
Tile2 | ||
return | void |
public static SetBase ( |
||
setBase | ||
return | void |
public static SetBase ( |
||
setBase | ||
tile | ||
return | void |
public static SetObject ( |
||
gameObject | ||
Tile2 | ||
return | void |
public static SetObject ( |
||
gameObject | ||
Tile2 | ||
return | void |
public static SetTower ( |
||
tower | ||
Tile2 | ||
return | bool |
public static SetTowerForLevelMap ( |
||
tower | ||
tile | ||
return | void |
public static ThreadedTilePaths ( object indexToKill ) : void | ||
indexToKill | object | |
return | void |
public static Update ( |
||
gameTime | ||
return | void |