2021-08-15 16:34:36 +02:00
|
|
|
local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
|
2021-07-19 12:09:21 +02:00
|
|
|
local SetAnimSpeedStep = StepParent:extend()
|
|
|
|
|
|
|
|
function SetAnimSpeedStep:new(controller, args)
|
|
|
|
SetAnimSpeedStep.super.new(self, controller, args)
|
|
|
|
end
|
|
|
|
|
|
|
|
function SetAnimSpeedStep:start()
|
2021-08-07 13:36:13 +02:00
|
|
|
local actor = self:getActor(self.arguments.who)
|
|
|
|
|
|
|
|
actor:setAnimSpeed(self.arguments.speed)
|
2021-07-19 12:09:21 +02:00
|
|
|
self:finish()
|
|
|
|
end
|
|
|
|
|
|
|
|
function SetAnimSpeedStep:update(dt)
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function SetAnimSpeedStep:getSignal(signal)
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
return SetAnimSpeedStep;
|