| AllUnitsCanBeExpelled
(location)
|
int
|
|
Returns true if all of the units at the location can be expelled
|
|
| ArmyIsValid
(army)
|
int
|
|
Returns true if the army is valid
|
|
| GetArmyByIndex
(int-player, int-index, armyvar)
|
int
|
|
Returns true if the indexed army of the given player exists and stores it into armyvar
|
|
| GetArmyFromUnit
(unit, armyvar)
|
void
|
|
Finds the army which contains the unit and saves it into armyvar
|
|
| GetUnitFromArmy
(army, int-index, unitvar)
|
int
|
|
Returns true if the army contains a unit given by index (from 0 up to number of units in the army - 1) and stores it into unitvar
|
|
| Stacked
(location)
|
int
|
|
Returns true if all of the units at the given location are in a single group
|
|
| UnitsInCell
(location)
|
int
|
|
Returns the number of units in the cell
|
|