AITile extension libraries.
More...
Static Public Member Functions |
static function | IsMyTile (tile) |
| Check if tile is my tile.
|
static function | IsCompetitorTile (tile) |
| Check if tile is competitor tile.
|
static function | AddOffset (tile, x, y) |
| Gets the TileIndex relatively from given offset.
|
Detailed Description
AITile extension libraries.
Member Function Documentation
static function Tile::AddOffset |
( |
tile |
, |
|
|
x |
, |
|
|
y |
|
|
) |
| |
|
inlinestatic |
Gets the TileIndex relatively from given offset.
- Parameters
-
tile | Start tile. |
x | The X offset. |
y | The Y offset. |
- Returns
- The new tile.
static function Tile::IsCompetitorTile |
( |
tile |
| ) |
|
|
inlinestatic |
Check if tile is competitor tile.
- Parameters
-
- Returns
- true if its owned by competitor
static function Tile::IsMyTile |
( |
tile |
| ) |
|
|
inlinestatic |
Check if tile is my tile.
- Parameters
-
- Returns
- true if "tile" is mine
The documentation for this class was generated from the following file: