Method: MapDungeon::Dungeon#each_type_entity
- Defined in:
- lib/map/dungeon.rb
#each_type_entity(type) ⇒ Object
Concrete entity iterator
43 44 45 |
# File 'lib/map/dungeon.rb', line 43 def each_type_entity(type) @entities[type].each { |entity| yield entity } end |