2021-01-02 22:49:38 -05:00
|
|
|
function onLoad()
|
|
|
|
-- Add a button to the object
|
|
|
|
local params = {}
|
|
|
|
params.click_function = 'toPhaseTwo'
|
|
|
|
params.function_owner = self
|
|
|
|
params.tooltip = ''
|
|
|
|
params.width = 600
|
|
|
|
params.height = 600
|
|
|
|
self.createButton(params)
|
|
|
|
end
|
|
|
|
|
|
|
|
function toPhaseTwo()
|
|
|
|
self.setState(2)
|
2021-10-18 15:54:27 -04:00
|
|
|
end
|