Class: Core::Game::Combat::Weapon
Instance Attribute Summary collapse
-
#effects ⇒ Object
readonly
Returns the value of attribute effects.
-
#icon ⇒ Object
readonly
Returns the value of attribute icon.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type, effects, icon) ⇒ Weapon
constructor
A new instance of Weapon.
Constructor Details
Instance Attribute Details
#effects ⇒ Object (readonly)
Returns the value of attribute effects.
99 100 101 |
# File 'lib/game/combat/battle.rb', line 99 def effects @effects end |
#icon ⇒ Object (readonly)
Returns the value of attribute icon.
99 100 101 |
# File 'lib/game/combat/battle.rb', line 99 def icon @icon end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
99 100 101 |
# File 'lib/game/combat/battle.rb', line 99 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
99 100 101 |
# File 'lib/game/combat/battle.rb', line 99 def type @type end |