29 lines
515 B
Lua
29 lines
515 B
Lua
local ChoregraphyAction = Object:extend()
|
|
|
|
function ChoregraphyAction:new(controller, args, effectArea)
|
|
self.controller = controller
|
|
self.actor = controller.actor
|
|
|
|
self.args = args;
|
|
self.effectArea = effectArea;
|
|
self:start()
|
|
end
|
|
|
|
function ChoregraphyAction:start()
|
|
self:finish()
|
|
end
|
|
|
|
function ChoregraphyAction:update(dt)
|
|
|
|
end
|
|
|
|
function ChoregraphyAction:getSignal(signal)
|
|
|
|
end
|
|
|
|
function ChoregraphyAction:finish()
|
|
print("action finished")
|
|
self.controller:endAction()
|
|
end
|
|
|
|
return ChoregraphyAction;
|