(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

This commit is contained in:
truebrain
2009-01-15 15:56:10 +00:00
parent d62a85f2ce
commit 103cd2a5ed
8 changed files with 30 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ class BinaryHeap extends AILibrary {
function GetVersion() { return 1; }
function GetDate() { return "2008-06-10"; }
function CreateInstance() { return "BinaryHeap"; }
function GetCategory() { return "Queue"; }
}
RegisterLibrary(BinaryHeap());