feat: mark potentially async choregraphy step
This commit is contained in:
parent
bda80d4f20
commit
7940d9c74c
6 changed files with 7 additions and 6 deletions
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
|||
local StepGFX = StepParent:extend()
|
||||
|
||||
function StepGFX:new(controller, args)
|
||||
StepGFX.super.new(self, controller, args)
|
||||
StepGFX.super.new(self, controller, args, true)
|
||||
end
|
||||
|
||||
function StepGFX:start()
|
||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
|||
local StepQTE = StepParent:extend()
|
||||
|
||||
function StepQTE:new(controller, args)
|
||||
StepQTE.super.new(self, controller, args)
|
||||
StepQTE.super.new(self, controller, args, true)
|
||||
end
|
||||
|
||||
function StepQTE:start()
|
||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
|||
local GoToStep = StepParent:extend()
|
||||
|
||||
function GoToStep:new(controller, args)
|
||||
GoToStep.super.new(self, controller, args)
|
||||
GoToStep.super.new(self, controller, args, true)
|
||||
end
|
||||
|
||||
function GoToStep:start()
|
||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
|||
local JumpBackStep = StepParent:extend()
|
||||
|
||||
function JumpBackStep:new(controller, args)
|
||||
JumpBackStep.super.new(self, controller, args)
|
||||
JumpBackStep.super.new(self, controller, args, true)
|
||||
end
|
||||
|
||||
function JumpBackStep:start()
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
local StepParent = Object:extend()
|
||||
|
||||
function StepParent:new(choregraphySystem, arguments)
|
||||
function StepParent:new(choregraphySystem, arguments, canBeAsync)
|
||||
self.choregraphy = choregraphySystem
|
||||
self.arguments = arguments
|
||||
self.isStarted = false
|
||||
self.canBeAsync = (canBeAsync == true)
|
||||
end
|
||||
|
||||
function StepParent:updateStep(dt)
|
||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
|||
local AnimationSetterStep = StepParent:extend()
|
||||
|
||||
function AnimationSetterStep:new(controller, args)
|
||||
AnimationSetterStep.super.new(self, controller, args)
|
||||
AnimationSetterStep.super.new(self, controller, args, true)
|
||||
end
|
||||
|
||||
function AnimationSetterStep:start()
|
||||
|
|
Loading…
Reference in a new issue