Class: Lich::Common::Room

Inherits:
Map
  • Object
show all
Defined in:
lib/common/map/map_dr.rb,
lib/common/map/map_gs.rb

Overview

Represents a room that inherits from Map.

Instance Attribute Summary

Attributes inherited from Map

#check_location, #climate, #description, #id, #image, #image_coords, #location, #paths, #room_objects, #tags, #terrain, #timeto, #title, #uid, #unique_loot, #wayto

Class Method Summary collapse

Methods inherited from Map

[], clear, current, current_or_new, current_room_id, current_room_id=, #desc, dijkstra, #dijkstra, estimate_time, #find_all_nearest_by_tag, #find_nearest, #find_nearest_by_tag, findpath, fuzzy_room_id, #fuzzy_room_id, #geo, get_free_id, get_location, ids_from_uid, images, #initialize, #inspect, list, load, load_dat, load_json, load_uids, load_xml, loaded, locations, #map_name, #map_roomsize, #map_x, #map_y, match_current, match_fuzzy, match_multi_ids, match_no_uid, #outside?, #path_to, previous, previous_room_id, previous_room_id=, previous_uid, reload, save, save_json, save_xml, set_current, set_fuzzy, tags, #to_i, to_json, #to_json, #to_s, uids, uids_add, uids_clear

Constructor Details

This class inherits a constructor from Lich::Common::Map

Class Method Details

.method_missing(*args) ⇒ Object

Handles missing methods by delegating to the superclass.

Examples:

Room.some_missing_method

Parameters:

  • args (Array)

    The arguments for the missing method.

Returns:

  • (Object)

    The result of the method call.



1094
1095
1096
# File 'lib/common/map/map_dr.rb', line 1094

def Room.method_missing(*args)
  super(*args)
end