GameObjects should be accessible by name from a GameState
Opened this issue · 2 comments
RavensKrag commented
Turn @gameobjects
into a Hash where the key is the name of that object. Thus, all gameobjects should have a name field.
RavensKrag commented
All gameobjects do currently have a name field, both Entity objects and Building objects. This perhaps should be filtered out into a separate shared parent class.
RavensKrag commented
NOTE: This means that all gameobjects within a given gamestate must have unique names.