mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
19 lines
435 B
Lua
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
|