FreeKill/lua/ui_emu/okscene.lua
notify 30df075db2
Some checks failed
Check Whitespace and New Line / check (push) Has been cancelled
Deploy Doxygen to Pages / build (push) Has been cancelled
Deploy Doxygen to Pages / deploy (push) Has been cancelled
Changelog: v0.4.20
2024-10-22 01:14:01 +08:00

19 lines
435 B
Lua

local base = require 'ui_emu.base'
local control = require 'ui_emu.control'
local Scene = base.Scene
local Button = control.Button
---@class OKScene: Scene
local OKScene = Scene:subclass("OKScene")
OKScene.scene_name = "Room"
---@param parent RequestHandler
function OKScene:initialize(parent)
Scene.initialize(self, parent)
self:addItem(Button:new(self, "OK"))
self:addItem(Button:new(self, "Cancel"))
end
return OKScene