#include <robbase.h>
Public Methods | |
| Bot (rint instrSet, rint numBanks, rint mobile, rint posX, rint posY, rint dir, rint generation, Program *owner) | |
| appends itself to sim->bots and puts itself into sim->field. | |
| ~Bot () | |
| removes itself from sim->field. It has to be removed from sim->bots however. | |
| ExecReturnType | exec () |
Public Attributes | |
| Program * | owner |
| rint | vars [botVarLength] |
| named vars (e.g. ACTIVE). | |
| rint * | stdVars |
| unnamed vars (e.g. #1). Note! Size must be numUnnamedVars+1! | |
| lrt::Array< Bank * > | banks |
| lrt::Vector< Task * > | tasks |
| rint | curTask |
| int | creationCycle |
| when was the bot created? | |
| int | deactCycle |
| latest deactivation of the bot, or 0 if never deactivated. | |