Class: Wowr::Classes::ManaRegen

Inherits:
Object
  • Object
show all
Defined in:
lib/wowr/character.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ ManaRegen

Returns a new instance of ManaRegen.



593
594
595
596
# File 'lib/wowr/character.rb', line 593

def initialize(elem)
	@casting 			= elem[:casting].to_f
	@not_casting 	= elem[:notCasting].to_f
end

Instance Attribute Details

#castingObject (readonly)

Returns the value of attribute casting.



591
592
593
# File 'lib/wowr/character.rb', line 591

def casting
  @casting
end

#not_castingObject (readonly)

Returns the value of attribute not_casting.



591
592
593
# File 'lib/wowr/character.rb', line 591

def not_casting
  @not_casting
end