HDB: Add clearPersistent()
This commit is contained in:
parent
54b43f1aca
commit
a937c669b9
2 changed files with 7 additions and 0 deletions
|
@ -668,6 +668,8 @@ AIEntTypeInfo aiEntList[] = {
|
||||||
|
|
||||||
AI::AI() {
|
AI::AI() {
|
||||||
_ents = new Common::Array<AIEntity *>;
|
_ents = new Common::Array<AIEntity *>;
|
||||||
|
// REMOVE: Remove for final. Used here due to lack of a MENU
|
||||||
|
_numGems = _numGooCups = _numMonkeystones = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
AI::~AI() {
|
AI::~AI() {
|
||||||
|
@ -683,6 +685,10 @@ bool AI::init() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AI::clearPersistent() {
|
||||||
|
_numGems = _numGooCups = _numMonkeystones = 0;
|
||||||
|
}
|
||||||
|
|
||||||
void AI::restartSystem() {
|
void AI::restartSystem() {
|
||||||
warning("STUB: AI::restartSystem incomplete");
|
warning("STUB: AI::restartSystem incomplete");
|
||||||
|
|
||||||
|
|
|
@ -407,6 +407,7 @@ public:
|
||||||
~AI();
|
~AI();
|
||||||
|
|
||||||
bool init();
|
bool init();
|
||||||
|
void clearPersistent();
|
||||||
void restartSystem();
|
void restartSystem();
|
||||||
|
|
||||||
// Entity Functions
|
// Entity Functions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue