| Package | Description |
|---|---|
| peril.ai |
| Modifier and Type | Field and Description |
|---|---|
private AIController |
AI.api
The
AIController that this AI will use to query the state of
the game. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AIOperation |
AI.processAttack(AIController api)
Perform the attack operation using the specified
AIController. |
protected abstract AIOperation |
AI.processFortify(AIController api)
Perform the fortify operation using the specified
AIController. |
protected abstract AIOperation |
AI.processReinforce(AIController api)
Perform the reinforce operation using the specified
AIController. |
| Constructor and Description |
|---|
AI(java.lang.String name,
int defaultSpeed,
AIController api)
Constructs a new
AI. |