sonic-radiance/sonic-radiance.love/scenes/battlesystem/choregraphy/step/waitFor.lua

19 lines
426 B
Lua
Raw Normal View History

local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
2021-07-17 21:55:14 +02:00
local WaitForStep = StepParent:extend()
function WaitForStep:new(controller, args)
WaitForStep.super.new(self, controller, args)
end
function WaitForStep:start()
end
function WaitForStep:update(dt)
2021-07-19 12:16:34 +02:00
--print(self.arguments.waitFor)
2021-07-17 21:55:14 +02:00
if (self.choregraphy:checkCondition(self.arguments.waitFor)) then
self:finish()
end
end
return WaitForStep