Method: AuthorEngine::Part::Common#fps

Defined in:
lib/author_engine/game/common/parts/common.rb

#fpsObject

returns frames per seconds



15
16
17
18
19
20
21
# File 'lib/author_engine/game/common/parts/common.rb', line 15

def fps
  if RUBY_ENGINE == "opal"
    AuthorEngine::GameRunner.instance.fps
  else
    Gosu.fps
  end
end