src/ai/api/ai_town.hpp
branchnoai
changeset 9532 539c48d64eea
parent 9530 5b93bc87cc5e
child 9541 4bb34cea7fad
--- 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");