14 lines
354 B
Lua
14 lines
354 B
Lua
local ChoregraphyActionParent = require "scenes.battlesystem.actors.systems.actions.parent"
|
|
local PlaySFX = ChoregraphyActionParent:extend()
|
|
|
|
function PlaySFX:new(system, args, effectArea)
|
|
PlaySFX.super.new(self, system, args, effectArea)
|
|
end
|
|
|
|
function PlaySFX:start()
|
|
self.actor.assets.sfx[self.args.sfx]:play()
|
|
self:finish()
|
|
end
|
|
|
|
|
|
return PlaySFX
|