Class: GamesAndRpgParadise::Mud::Sabre
- Defined in:
- lib/games_and_rpg_paradise/mud/weapons/sabre.rb
Overview
GamesAndRpgParadise::Mud::Sabre
Constant Summary collapse
- NAMESPACE =
#
inspect
Constants inherited from Weapon
Constants inherited from MudObject
Instance Method Summary collapse
-
#initialize ⇒ Sabre
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 ⇒ Sabre
#
initialize
#
25 26 27 28 29 |
# File 'lib/games_and_rpg_paradise/mud/weapons/sabre.rb', line 25 def initialize super() set_weapon_name(NAMESPACE.split('::').last) set_height '80-120' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GamesAndRpgParadise::Mud::MudObject