Avant-Flux/eternity

GameObjects should be accessible by name from a GameState

Opened this issue · 2 comments

Turn @gameobjects into a Hash where the key is the name of that object. Thus, all gameobjects should have a name field.

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.

NOTE: This means that all gameobjects within a given gamestate must have unique names.