--- a/src/ai/api/ai_town.hpp Sun Mar 25 16:46:57 2007 +0000
+++ b/src/ai/api/ai_town.hpp Sun Mar 25 17:43:40 2007 +0000
@@ -78,9 +78,11 @@
SQAITown.PreRegister(engine);
SQAITown.AddConstructor(engine);
+ SQAITown.DefSQStaticMethod(engine, &AITown::GetClassName, "GetClassName");
+ SQAITown.DefSQStaticMethod(engine, &AITown::IsValidTown, "IsValidTown");
+
SQAITown.DefSQMethod(engine, &AITown::GetMaxTownID, "GetMaxTownID");
SQAITown.DefSQMethod(engine, &AITown::GetTownCount, "GetTownCount");
- SQAITown.DefSQMethod(engine, &AITown::IsValidTown, "IsValidTown");
SQAITown.DefSQMethod(engine, &AITown::GetName, "GetName");
SQAITown.DefSQMethod(engine, &AITown::GetPopulation, "GetPopulation");
SQAITown.DefSQMethod(engine, &AITown::GetLocation, "GetLocation");