Class: GamesAndRpgParadise::Mud::Hammer
- Defined in:
- lib/games_and_rpg_paradise/mud/weapons/hammer.rb
Overview
RpgParadise::Mud::Hammer
Constant Summary
Constants inherited from Weapon
Constants inherited from MudObject
MudObject::DEFAULT_NAME, MudObject::NAMESPACE
Instance Method Summary collapse
-
#initialize ⇒ Hammer
constructor
# === initialize ========================================================================= #.
Methods inherited from Weapon
#broken?, #damage?, #do_break, #do_repair, #inspect, #is_weapon?, #material_type?, #process_hash, #reset, #set_weapon_name, #status?, #weapon_name?
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 ⇒ Hammer
#
initialize
#
20 21 22 23 24 |
# File 'lib/games_and_rpg_paradise/mud/weapons/hammer.rb', line 20 def initialize super('hammer') set_description('hammer') set_height '80-120' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GamesAndRpgParadise::Mud::MudObject