sonic-bluestreak/sonic-bluestreak.love/scenes/battlesystem/choregraphy/step/playSFX.lua
2021-11-25 10:57:13 +01:00

13 lines
308 B
Lua

local StepParent = require "scenes.battlesystem.choregraphy.step.parent"
local PlaySFX = StepParent:extend()
function PlaySFX:new(system, args)
PlaySFX.super.new(self, system, args)
end
function PlaySFX:start()
self.choregraphy.assets.sfx[self.arguments.sfx]:play()
self:finish()
end
return PlaySFX