sonic-bluestreak/sonic-bluestreak.love/scenes/battlesystem/fighters/character/actions/attack.lua

18 lines
422 B
Lua
Raw Normal View History

2021-11-25 10:57:13 +01:00
local ActionParent = require "scenes.battlesystem.fighters.character.actions.parent"
local AttackAction = ActionParent:extend()
function AttackAction:new(fighter)
AttackAction.super.new(self, fighter)
end
function AttackAction:needTarget()
return true, true
end
function AttackAction:startAction()
core.debug:print("cbs/action", "Starting attack action")
self:loadChoregraphy("attack")
end
return AttackAction