Module: Yeah

Extended by:
Web::ClassMethods
Includes:
Web
Defined in:
lib/yeah.rb,
lib/yeah/vec3.rb,
lib/yeah/vec2.rb,
lib/yeah/_web.rb,
lib/yeah/game.rb,
lib/yeah/color.rb,
lib/yeah/version.rb,
lib/yeah/web/setup.rb,
lib/yeah/constants.rb,
lib/yeah/web/server.rb,
lib/yeah/web/builder.rb,
lib/yeah/_platform/font.rb,
lib/yeah/_platform/mouse.rb,
lib/yeah/_platform/asset.rb,
lib/yeah/_platform/image.rb,
lib/yeah/_platform/sound.rb,
lib/yeah/_platform/ticker.rb,
lib/yeah/_platform/display.rb,
lib/yeah/_platform/keyboard.rb,
lib/yeah/_platform/class_methods.rb

Defined Under Namespace

Modules: Vec2, Vec3, Web Classes: Asset, Color, Display, Font, Game, Image, Keyboard, Mouse, Sound, Ticker

Constant Summary collapse

VERSION =
'0.4.3.dev'
DEFAULT_DISPLAY_TEXT_SIZE =
24
DEFAULT_TICKER_RATE =
60

Class Method Summary collapse

Class Method Details

.configure {|config| ... } ⇒ nil

Note:

Provided by a Platform.

Note:

Configuration struct attributes: title (String), factorial_scaling (true, false)

Yields:

  • (config)

    configuration block

Yield Parameters:

  • configuration (Struct)

Returns:

  • (nil)

# File 'lib/yeah/_platform/class_methods.rb', line 2