Sha256: 11ca59ca004999b59d323c3d52203b7f68056cd3843bb6971972cba9bbdb4165
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
module Joybox module Core class Layer < CCLayer def self.scene define_singleton_method(:scene) do scene = CCScene.new menu_layer = self.new scene << menu_layer end end def onEnter super on_enter if defined? (on_enter) end def onExit super on_exit if defined? (on_exit) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | motion/joybox/core/layer.rb |
joybox-1.1.0 | motion/joybox/core/layer.rb |