Currently creating subclasses is the only way. Also I can't really think of a nice syntax for import to allow multiple classes, and what should CreateInstance() (in info.nut) return in that case?Zutty wrote:Yexo (or other devs) - Can an AI library expose more than one class via the import() statement, or would I have to use an inner class, such as...
Edit: while I'm saying this I realize both CreateInstance() and import could use arrays of strings instead of just a string, but I don't really like that. Are subclasses a problem in your case?