Class: GamesAndRpgParadise::Mud::Sarlem::Entrance

Inherits:
Room
  • Object
show all
Defined in:
lib/games_and_rpg_paradise/mud/worlds/sarlem/eastern_realm/tai/pingrim/karoshi_cemetary/entrance.rb

Constant Summary

Constants inherited from MudObject

MudObject::DEFAULT_NAME, MudObject::NAMESPACE

Instance Method Summary collapse

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

#initializeEntrance

#

initialize

#


22
23
24
25
26
27
28
29
30
# File 'lib/games_and_rpg_paradise/mud/worlds/sarlem/eastern_realm/tai/pingrim/karoshi_cemetary/entrance.rb', line 22

def initialize
  super()
  reset
  set_short 'Entrance to the Karoshi Cemetary'
  exit_west 'PINGRIM/EAST_GATE'
  desc '
  This is the cemetary of the great city of Pingrim.
  '
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?

#

Returns:

  • (Boolean)


35
36
37
# File 'lib/games_and_rpg_paradise/mud/worlds/sarlem/eastern_realm/tai/pingrim/karoshi_cemetary/entrance.rb', line 35

def available_exits?
  %w( east )
end