chore: forgot something again woops
This commit is contained in:
parent
5368b94f88
commit
b4f7cdb44b
1 changed files with 7 additions and 2 deletions
|
@ -13,8 +13,13 @@ FighterParent:implement(Movements)
|
||||||
FighterParent:implement(Sprites)
|
FighterParent:implement(Sprites)
|
||||||
FighterParent:implement(Abstract)
|
FighterParent:implement(Abstract)
|
||||||
|
|
||||||
function FighterParent:new(world, x, y, w, h, d, fighterType)
|
function FighterParent:new(world, x, y, fighterType)
|
||||||
FighterParent.super.new(self, world, fighterType, x, y, 0, w, h, d, true)
|
self.abstract = self:getAbstract()
|
||||||
|
|
||||||
|
local w, h, d = self:getFighterHitbox()
|
||||||
|
local z = self:getStartZ()
|
||||||
|
|
||||||
|
FighterParent.super.new(self, world, fighterType, x, y, z, w, h, d, true)
|
||||||
self.defaultDir = self.defaultDir or -1
|
self.defaultDir = self.defaultDir or -1
|
||||||
self:initMovements()
|
self:initMovements()
|
||||||
self:initActions()
|
self:initActions()
|
||||||
|
|
Loading…
Reference in a new issue