feat: add stopMov step action
This commit is contained in:
parent
26ba64218b
commit
cf7be0cb55
3 changed files with 23 additions and 0 deletions
|
@ -17,6 +17,7 @@ return {
|
||||||
["addQTE"] = {"qteData", "origin", "blockProcess"},
|
["addQTE"] = {"qteData", "origin", "blockProcess"},
|
||||||
["setCounter"] = {"counterName", "number", "relative"},
|
["setCounter"] = {"counterName", "number", "relative"},
|
||||||
["useItemEffect"] = {},
|
["useItemEffect"] = {},
|
||||||
|
["stopMov"] = {},
|
||||||
--[name] = {args},
|
--[name] = {args},
|
||||||
},
|
},
|
||||||
argumentWrapper = "arguments",
|
argumentWrapper = "arguments",
|
||||||
|
|
|
@ -6,6 +6,7 @@ actions["addGFX"] = require(baseURI .. "addGFX")
|
||||||
actions["addQTE"] = require(baseURI .. "addQTE")
|
actions["addQTE"] = require(baseURI .. "addQTE")
|
||||||
actions["goTo"] = require(baseURI .. "goTo")
|
actions["goTo"] = require(baseURI .. "goTo")
|
||||||
actions["goTo3D"] = require(baseURI .. "goTo3D")
|
actions["goTo3D"] = require(baseURI .. "goTo3D")
|
||||||
|
actions["stopMov"] = require(baseURI .. "stopMov")
|
||||||
actions["jumpBack"] = require(baseURI .. "jumpBack")
|
actions["jumpBack"] = require(baseURI .. "jumpBack")
|
||||||
actions["jump"] = require(baseURI .. "jump")
|
actions["jump"] = require(baseURI .. "jump")
|
||||||
actions["playSFX"] = require(baseURI .. "playSFX")
|
actions["playSFX"] = require(baseURI .. "playSFX")
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
local StepParent = require "scenes.battlesystem.controllers.fighters.systems.choregraphy.step.parent"
|
||||||
|
local StopMovStep = StepParent:extend()
|
||||||
|
|
||||||
|
function StopMovStep:new(controller, args)
|
||||||
|
StopMovStep.super.new(self, controller, args, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
function StopMovStep:start()
|
||||||
|
self.choregraphy.actor:stopMoving()
|
||||||
|
self:finish()
|
||||||
|
end
|
||||||
|
|
||||||
|
function StopMovStep:update(dt)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
function StopMovStep:getSignal(signal)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
return StopMovStep;
|
Loading…
Reference in a new issue