Method: Zyps::GameObject#age

Defined in:
lib/zyps.rb

#ageObject

Time since the object was created, in seconds.



181
# File 'lib/zyps.rb', line 181

def age; Time.new.to_f - @birth_time; end