(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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user