2021-08-15 16:34:36 +02:00
|
|
|
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()
|
2021-08-07 13:36:13 +02:00
|
|
|
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;
|