Class: Wowr::Classes::ManaRegen
- Inherits:
-
Object
- Object
- Wowr::Classes::ManaRegen
- Defined in:
- lib/wowr/character.rb
Instance Attribute Summary collapse
-
#casting ⇒ Object
readonly
Returns the value of attribute casting.
-
#not_casting ⇒ Object
readonly
Returns the value of attribute not_casting.
Instance Method Summary collapse
-
#initialize(elem) ⇒ ManaRegen
constructor
A new instance of ManaRegen.
Constructor Details
#initialize(elem) ⇒ ManaRegen
Returns a new instance of ManaRegen.
571 572 573 574 |
# File 'lib/wowr/character.rb', line 571 def initialize(elem) @casting = elem[:casting].to_f @not_casting = elem[:notCasting].to_f end |
Instance Attribute Details
#casting ⇒ Object (readonly)
Returns the value of attribute casting.
569 570 571 |
# File 'lib/wowr/character.rb', line 569 def casting @casting end |
#not_casting ⇒ Object (readonly)
Returns the value of attribute not_casting.
569 570 571 |
# File 'lib/wowr/character.rb', line 569 def not_casting @not_casting end |