Method: MapDungeon::Dungeon#remove_entity
- Defined in:
- lib/map/dungeon.rb
#remove_entity(entity, type) ⇒ Object
Remove the entity from the array
26 27 28 |
# File 'lib/map/dungeon.rb', line 26 def remove_entity(entity, type) @entities[type].delete(entity) end |