(svn r15462) -Change [NoAI]: Make AIController::GetTick() and AIController::GetSetting() static functions.

-Fix (r15460): ai_controller.hpp.sq was forgotten.
This commit is contained in:
yexo
2009-02-13 00:18:56 +00:00
parent 7e1f40ccdc
commit 526edf35a5
3 changed files with 10 additions and 10 deletions

View File

@@ -41,14 +41,14 @@ public:
* Find at which tick your AI currently is.
* @return returns the current tick.
*/
uint GetTick();
static uint GetTick();
/**
* Get the value of one of your settings you set via info.nut.
* @param name The name of the setting.
* @return the value for the setting, or -1 if the setting is not known.
*/
int GetSetting(const char *name);
static int GetSetting(const char *name);
/**
* Change the minimum amount of time the AI should be put in suspend mode