Tile  version
 All Classes Functions
Static Public Member Functions | List of all members
Tile Class Reference

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  ,
,
 
)
inlinestatic

Gets the TileIndex relatively from given offset.

Parameters
tileStart tile.
xThe X offset.
yThe Y offset.
Returns
The new tile.
static function Tile::IsCompetitorTile ( tile  )
inlinestatic

Check if tile is competitor tile.

Parameters
tileto check
Returns
true if its owned by competitor
static function Tile::IsMyTile ( tile  )
inlinestatic

Check if tile is my tile.

Parameters
tile'tile to check
Returns
true if "tile" is mine

The documentation for this class was generated from the following file: