메소드 | 설명 | |
---|---|---|
Draw ( ) : void | ||
GetTileFromPos ( System.Vector3 position ) : Tile |
Returns a tile given a Vector3 position
|
|
GetTileFromType ( TileType tileType ) : Tile | ||
GetTileNeighbor ( Tile tile, NeighborTile neighborTile ) : Tile |
Gets a neigbhoring tile's position
|
|
GetWalkableNeighbors ( Tile tile ) : List |
||
GetWalkableNeighbors ( Tile tile, Tile>.Dictionary |
||
InitializeTileMap ( System.Vector3 position, System.Vector2 numTiles, System.Vector2 tileSize ) : void | ||
IsTilePathsValid ( ) : bool | ||
RemoveTower ( Tile tile ) : void | ||
SetBase ( Base setBase ) : void | ||
SetObject ( Base gameObject, Tile tile ) : void | ||
SetObject ( Tower gameObject, Tile tile ) : void | ||
SetTower ( Tower tower, Tile tile ) : bool | ||
SetTowerForLevelMap ( Tower tower, Tile tile ) : void | ||
UpdateTilePaths ( ) : void |
메소드 | 설명 | |
---|---|---|
InitializeTiles ( ) : void |
메소드 | 설명 | |
---|---|---|
OnTowerCreated ( ) : void |
public static GetTileFromPos ( System.Vector3 position ) : Tile | ||
position | System.Vector3 | The position to investigate |
리턴 | Tile |
public static GetTileFromType ( TileType tileType ) : Tile | ||
tileType | TileType | |
리턴 | Tile |
public static GetTileNeighbor ( Tile tile, NeighborTile neighborTile ) : Tile | ||
tile | Tile | The start tile |
neighborTile | NeighborTile | The neighbor to examine |
리턴 | Tile |
public static GetWalkableNeighbors ( Tile tile ) : List |
||
tile | Tile | |
리턴 | List |
public static GetWalkableNeighbors ( Tile tile, Tile>.Dictionary |
||
tile | Tile | |
exclude | Tile>.Dictionary | |
리턴 | List |
public static InitializeTileMap ( System.Vector3 position, System.Vector2 numTiles, System.Vector2 tileSize ) : void | ||
position | System.Vector3 | |
numTiles | System.Vector2 | |
tileSize | System.Vector2 | |
리턴 | void |
public static SetObject ( Base gameObject, Tile tile ) : void | ||
gameObject | Base | |
tile | Tile | |
리턴 | void |
public static SetObject ( Tower gameObject, Tile tile ) : void | ||
gameObject | Tower | |
tile | Tile | |
리턴 | void |
public static SetTower ( Tower tower, Tile tile ) : bool | ||
tower | Tower | |
tile | Tile | |
리턴 | bool |
public static SetTowerForLevelMap ( Tower tower, Tile tile ) : void | ||
tower | Tower | |
tile | Tile | |
리턴 | void |