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

19 lines
426 B
Lua
Raw Permalink Normal View History

2021-11-25 10:57:13 +01:00
local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
local WaitForStep = StepParent:extend()
function WaitForStep:new(controller, args)
WaitForStep.super.new(self, controller, args)
end
function WaitForStep:start()
end
function WaitForStep:update(dt)
--print(self.arguments.waitFor)
if (self.choregraphy:checkCondition(self.arguments.waitFor)) then
self:finish()
end
end
return WaitForStep