Class: GamesAndRpgParadise::Mud::Axe

Inherits:
Weapon show all
Defined in:
lib/games_and_rpg_paradise/mud/weapons/axe.rb

Overview

GamesAndRpgParadise::Mud::Axe

Constant Summary

Constants inherited from Weapon

Weapon::HASH_OF_MUD_WEAPONS

Constants inherited from MudObject

MudObject::DEFAULT_NAME, MudObject::NAMESPACE

Instance Method Summary collapse

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

#initializeAxe

#

initialize

#


20
21
22
23
24
# File 'lib/games_and_rpg_paradise/mud/weapons/axe.rb', line 20

def initialize
  super('axe')
  set_description('axe')
  set_height '70-80'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class GamesAndRpgParadise::Mud::MudObject