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

24 lines
441 B
Lua
Raw Permalink Normal View History

2021-11-25 10:57:13 +01:00
local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
local StopMovStep = StepParent:extend()
function StopMovStep:new(controller, args)
StopMovStep.super.new(self, controller, args, true)
end
function StopMovStep:start()
local actor = self:getActor(self.arguments.who)
actor:stopMoving()
self:finish()
end
function StopMovStep:update(dt)
end
function StopMovStep:getSignal(signal)
end
return StopMovStep;