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.



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

#castingObject (readonly)

Returns the value of attribute casting.



569
570
571
# File 'lib/wowr/character.rb', line 569

def casting
  @casting
end

#not_castingObject (readonly)

Returns the value of attribute not_casting.



569
570
571
# File 'lib/wowr/character.rb', line 569

def not_casting
  @not_casting
end