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

24 lines
492 B
Lua
Raw Permalink Normal View History

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