Class: GamesAndRpgParadise::Mud::Sarlem::WesternGate
- Defined in:
- lib/games_and_rpg_paradise/mud/worlds/sarlem/eastern_realm/tai/pingrim/western_gate.rb
Constant Summary
Constants inherited from MudObject
MudObject::DEFAULT_NAME, MudObject::NAMESPACE
Instance Method Summary collapse
-
#available_exits? ⇒ Boolean
# === available_exits? ========================================================================= #.
-
#initialize ⇒ WesternGate
constructor
# === initialize ========================================================================= #.
Methods inherited from Room
#add_exit, #add_random_exit, #connect_to, #debug, #description?, #display, #exit_east, #exits?, #is_a_room?, #random_exit, #reset, #reset_exits, #run, #sanitize_the_description, #set_default_exits, #set_description, #set_input, #set_title, #title?
Methods inherited from MudObject
[], #add, #add_prop, #add_to_inventory, #alias_action, #can_speak?, #define_action, #describe_the_mud_object, #description?, disable_debug, #empty?, enable_debug, #enable_speak, #find, #has_inventory?, #height?, #id?, #inspect, #internal_hash?, #inventory?, #is_armour?, #is_inventory?, #is_mud_object?, #is_weapon?, #is_wearable?, #length?, #method_missing, #name=, #name?, #obtain_name_from_filename, #random_inventory_element, #report_height, #report_weight, #reset, #run, #set_description, #set_height, #set_is_an_armour, #set_is_inventory, #set_is_wearable, #set_length, #set_name, #set_object_name, #set_value, #set_weight, shall_we_debug?, #show_inventory, #store, #store_where?, #value?, #wear, #wearables?, #weight?, #who_am_i?, #wields?
Constructor Details
#initialize ⇒ WesternGate
#
initialize
#
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/games_and_rpg_paradise/mud/worlds/sarlem/eastern_realm/tai/pingrim/western_gate.rb', line 22 def initialize super() reset exit_west 'TAI/west_of_pingrim' exit_east 'KAROSHI_CEMETARY/entrance.rb' desc ' This is the western gate of the great city of Pingrim, the capital of the island Tai. To the west we can leave the city again. ' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GamesAndRpgParadise::Mud::MudObject
Instance Method Details
#available_exits? ⇒ Boolean
#
available_exits?
#
38 39 40 |
# File 'lib/games_and_rpg_paradise/mud/worlds/sarlem/eastern_realm/tai/pingrim/western_gate.rb', line 38 def available_exits? %w( west east ) end |