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

14 lines
392 B
Lua
Raw Permalink Normal View History

2021-11-25 10:57:13 +01:00
local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
local SetCounterStep = StepParent:extend()
function SetCounterStep:new(system, args)
SetCounterStep.super.new(self, system, args)
end
function SetCounterStep:start()
self.choregraphy:setCounter(self.arguments.counterName, self.arguments.number, self.arguments.relative)
self:finish()
end
return SetCounterStep