2021-08-15 16:34:36 +02:00
|
|
|
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
|