Method: Metro::Animation#current_time

Defined in:
lib/metro/animation.rb

#current_timeFixnum

Returns the current time in the game.

Returns:

  • (Fixnum)

    the current time in the game.



40
41
42
# File 'lib/metro/animation.rb', line 40

def current_time
  Gosu::milliseconds
end