feat: add QTE drawing
This commit is contained in:
parent
6156837705
commit
2d1ea4c2a0
2 changed files with 9 additions and 0 deletions
|
@ -144,6 +144,9 @@ function HeroFighter:drawHUD()
|
|||
local x = (self.id-0.5)*boxSize
|
||||
local y = self.turnSystem.hud:getPlayerHUDPosition()
|
||||
self.statusbar:draw(x - HUDSIZE/2, y)
|
||||
if (self.action ~= nil) then
|
||||
self.action:draw()
|
||||
end
|
||||
end
|
||||
|
||||
return HeroFighter
|
||||
|
|
|
@ -53,4 +53,10 @@ function ActionParent:finishAction()
|
|||
self.fighter:finishAction()
|
||||
end
|
||||
|
||||
function ActionParent:draw()
|
||||
if (self.choregraphy ~= nil) then
|
||||
self.choregraphy:draw()
|
||||
end
|
||||
end
|
||||
|
||||
return ActionParent
|
||||
|
|
Loading…
Reference in a new issue