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

14 lines
308 B
Lua
Raw Permalink Normal View History

2021-11-25 10:57:13 +01:00
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