Module: RGSS3

Defined in:
lib/rgss3.rb,
lib/rgss3/rtp.rb,
lib/rgss3/version.rb,
lib/rgss3/container.rb,
lib/rgss3/game_window.rb

Defined Under Namespace

Modules: Container, RTP Classes: GameWindow

Constant Summary collapse

VERSION =
"0.1.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.fiberObject (readonly)

Returns the value of attribute fiber.



32
33
34
# File 'lib/rgss3.rb', line 32

def fiber
  @fiber
end

.windowObject (readonly)

Returns the value of attribute window.



32
33
34
# File 'lib/rgss3.rb', line 32

def window
  @window
end

Class Method Details

.run(**options, &block) ⇒ Object



34
35
36
37
38
# File 'lib/rgss3.rb', line 34

def run(**options, &block)
  @fiber = Fiber.new(&block)
  @window = RGSS3::GameWindow.new(**options)
  @window.show
end