19 lines
612 B
Lua
19 lines
612 B
Lua
---
|
|
-- @submodule Noble.Transition
|
|
|
|
class("DipToWhite", nil, Noble.Transition).extends(Noble.Transition.Dip)
|
|
local transition = Noble.Transition.DipToWhite
|
|
transition.name = "Dip to White"
|
|
|
|
--- Fade to white, then to the next scene.
|
|
-- NOTE: The `panelImage` property is locked.
|
|
-- @see Noble.Transition.Dip.defaultProperties
|
|
-- @table Noble.Transition.DipToWhite.defaultProperties
|
|
|
|
transition.panelImage = Graphics.image.new(400, 240, Graphics.kColorWhite)
|
|
|
|
function transition:setCustomArguments(__arguments)
|
|
transition.super.setCustomArguments(self, __arguments)
|
|
self.x = 0
|
|
self.y = 0
|
|
end |