put the list in the type

BlitzMax Forums/BlitzMax Beginners Area/put the list in the type

Well personally I wouldn't access it from outside the type. I'd write whatever code needed to handle the list inside the type. But if it's global you just address it as

Warrior.List


Although it can actually be addressed via an instance of the warrior type too.

Eg:

MyWarrior:Warrior=New Warrior
MyWarrior.List


But the former is more correct.