Method: FelFlame::Entities#components
- Defined in:
- lib/felflame/entity_manager.rb
#components ⇒ Hash<Component_Manager, Array<Integer>>
A hash that uses component manager constant names as keys, and where the values of those keys are arrays that contain the the components attached to this entity.
16 17 18 |
# File 'lib/felflame/entity_manager.rb', line 16 def components @components ||= {} end |