Sha256: 74e1f2d73d6a8164008564ded736b544f072d489899c1c161bd7f4044284b2cb

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

class AuthorEngine
  class Part
    module Common
      def width; Window::VIEW_WIDTH; end
      def height; Window::VIEW_HEIGHT; end
      def fps; Gosu.fps; end
      def milliseconds
        @__initial_milliseconds ||= Gosu.milliseconds
        Gosu.milliseconds - @__initial_milliseconds
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
author_engine-0.3.1 lib/author_engine/game/gosu/parts/common.rb
author_engine-0.3.0 lib/author_engine/game/gosu/parts/common.rb
author_engine-0.1.0 lib/author_engine/game/parts/common.rb