Class: Wowr::Classes::ManaRegen

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ ManaRegen

Returns a new instance of ManaRegen.



507
508
509
510
# File 'lib/wowr/classes.rb', line 507

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.



505
506
507
# File 'lib/wowr/classes.rb', line 505

def casting
  @casting
end

#not_castingObject (readonly)

Returns the value of attribute not_casting.



505
506
507
# File 'lib/wowr/classes.rb', line 505

def not_casting
  @not_casting
end