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()
|
local StepGFX = StepParent:extend()
|
||||||
|
|
||||||
function StepGFX:new(controller, args)
|
function StepGFX:new(controller, args)
|
||||||
StepGFX.super.new(self, controller, args)
|
StepGFX.super.new(self, controller, args, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function StepGFX:start()
|
function StepGFX:start()
|
||||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
||||||
local StepQTE = StepParent:extend()
|
local StepQTE = StepParent:extend()
|
||||||
|
|
||||||
function StepQTE:new(controller, args)
|
function StepQTE:new(controller, args)
|
||||||
StepQTE.super.new(self, controller, args)
|
StepQTE.super.new(self, controller, args, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function StepQTE:start()
|
function StepQTE:start()
|
||||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
||||||
local GoToStep = StepParent:extend()
|
local GoToStep = StepParent:extend()
|
||||||
|
|
||||||
function GoToStep:new(controller, args)
|
function GoToStep:new(controller, args)
|
||||||
GoToStep.super.new(self, controller, args)
|
GoToStep.super.new(self, controller, args, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function GoToStep:start()
|
function GoToStep:start()
|
||||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
||||||
local JumpBackStep = StepParent:extend()
|
local JumpBackStep = StepParent:extend()
|
||||||
|
|
||||||
function JumpBackStep:new(controller, args)
|
function JumpBackStep:new(controller, args)
|
||||||
JumpBackStep.super.new(self, controller, args)
|
JumpBackStep.super.new(self, controller, args, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function JumpBackStep:start()
|
function JumpBackStep:start()
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
local StepParent = Object:extend()
|
local StepParent = Object:extend()
|
||||||
|
|
||||||
function StepParent:new(choregraphySystem, arguments)
|
function StepParent:new(choregraphySystem, arguments, canBeAsync)
|
||||||
self.choregraphy = choregraphySystem
|
self.choregraphy = choregraphySystem
|
||||||
self.arguments = arguments
|
self.arguments = arguments
|
||||||
self.isStarted = false
|
self.isStarted = false
|
||||||
|
self.canBeAsync = (canBeAsync == true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function StepParent:updateStep(dt)
|
function StepParent:updateStep(dt)
|
||||||
|
|
|
@ -2,7 +2,7 @@ local StepParent = require "scenes.battlesystem.controllers.fighters.systems.cho
|
||||||
local AnimationSetterStep = StepParent:extend()
|
local AnimationSetterStep = StepParent:extend()
|
||||||
|
|
||||||
function AnimationSetterStep:new(controller, args)
|
function AnimationSetterStep:new(controller, args)
|
||||||
AnimationSetterStep.super.new(self, controller, args)
|
AnimationSetterStep.super.new(self, controller, args, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
function AnimationSetterStep:start()
|
function AnimationSetterStep:start()
|
||||||
|
|
Loading…
Reference in a new issue