Sha256: 4c1348eaf829e542889209ced24314e9be79187fde6713d348d88bc52f8e0223
Contents?: true
Size: 1.48 KB
Versions: 3
Compression:
Stored size: 1.48 KB
Contents
local storyboard = require( "storyboard" ) local scene = storyboard.newScene() local ui = require "scripts.lib.ui" local radlib = require "scripts.lib.radlib" --------------------------------------------------------------------------------- -- BEGINNING OF YOUR IMPLEMENTATION --------------------------------------------------------------------------------- function scene:createScene( event ) local screenGroup = self.view end function scene:enterScene( event ) print("Help loaded...") storyboard.removeAll() end function scene:exitScene( event ) end function scene:destroyScene( event ) end --------------------------------------------------------------------------------- -- END OF YOUR IMPLEMENTATION --------------------------------------------------------------------------------- -- -- "createScene" event is dispatched if scene's view does not exist scene:addEventListener( "createScene", scene ) -- "enterScene" event is dispatched whenever scene transition has finished scene:addEventListener( "enterScene", scene ) -- "exitScene" event is dispatched before next scene's transition begins scene:addEventListener( "exitScene", scene ) -- "destroyScene" event is dispatched before view is unloaded, which can be -- automatically unloaded in low memory situations, or explicitly via a call to -- storyboard.purgeScene() or storyboard.removeScene(). scene:addEventListener( "destroyScene", scene ) --------------------------------------------------------------------------------- return scene
Version data entries
3 entries across 3 versions & 1 rubygems