Sha256: 16700e2718d06e512e1eb483992c9ea4939a04b75070944f73a01e3dee63fd72
Contents?: true
Size: 441 Bytes
Versions: 4
Compression:
Stored size: 441 Bytes
Contents
require "gosu" require "onsengame/object" require "onsengame/z_order" require "onsengame/scene/base" module Onsengame module Scene class Main include Base def initialize(window) super end def update super end def draw super end def button_down(id) case id when Gosu::KbQ @window.scenes.shift end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
onsengame-0.0.4 | lib/onsengame/scene/main.rb |
onsengame-0.0.3 | lib/onsengame/scene/main.rb |
onsengame-0.0.2 | lib/onsengame/scene/main.rb |
onsengame-0.0.1 | lib/onsengame/scene/main.rb |