From ae5c8a8b359255e4b026543c736d42601ea7a599 Mon Sep 17 00:00:00 2001 From: truebrain Date: Thu, 15 Jan 2009 15:56:10 +0000 Subject: (svn r15091) -Add [NoAI] [API CHANGE]: introduce GetCategory() as a requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions --- bin/ai/library/pathfinder/rail/library.nut | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/ai/library/pathfinder/rail/library.nut') diff --git a/bin/ai/library/pathfinder/rail/library.nut b/bin/ai/library/pathfinder/rail/library.nut index 155adaad1..8f0dbad08 100644 --- a/bin/ai/library/pathfinder/rail/library.nut +++ b/bin/ai/library/pathfinder/rail/library.nut @@ -8,6 +8,7 @@ class Rail extends AILibrary { function GetVersion() { return 1; } function GetDate() { return "2008-09-22"; } function CreateInstance() { return "Rail"; } + function GetCategory() { return "Pathfinder"; } } RegisterLibrary(Rail()); -- cgit v1.2.3-70-g09d2