Should Weapon be a class that derives from Object?
Closed this issue · 2 comments
crankycyclops commented
Right now, whether or not Item is a weapon is a boolean flag in Item. Should I instead extend Object with a new type, Weapon? This would require fundamental changes to Parser, and in game.xml, would have to declare object with instead of .
Hmm...
crankycyclops commented
Investigate!
crankycyclops commented
No. There are object "classes" of a sort in game.xml, but those are just short cut for setting certain object properties. We still only have ENTITY_OBJECT, and that's it. Bye bye, ticket!