#include <ant.h>
Public Methods | |
| bool | isLoaded () |
| Does it carry food on its back ? | |
| char | getHemisphere () |
| Returns ant species : 1 for North, 0 for South. | |
| void | update (long int updateStamp) |
| Makes the ant decide what it is going to do next, and actually do it. | |
| ant (portion *birthPortion, int antIndex, char myHemisphere) | |
| double | getPhMult () |
| ~ant () | |
Public Attributes | |
| portion * | currentPortion |
| the portion the ant is currently standing on. | |
| portion * | previousPortion |
| the portion the ant previously was on. | |
| char * | antName |
| Ant name, generated from the index of its birth portion, its creation rank and its species. | |
|
||||||||||||||||
|
|
1.2.15