Class: Lich::Common::Room

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

Overview

Represents a room in the Lich game. Inherits from Map and can be used to extend functionality.

Examples:

Creating a room

room = Lich::Common::Room.new(1, "Room Title", "Room Description", ["path1", "path2"])

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



989
990
991
# File 'documented/common/map/map_dr.rb', line 989

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