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

24 lines
441 B
Lua
Raw Normal View History

local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
2021-07-18 18:57:54 +02:00
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()
2021-07-18 18:57:54 +02:00
self:finish()
end
function StopMovStep:update(dt)
end
function StopMovStep:getSignal(signal)
end
return StopMovStep;