diff --git a/sonic-radiance.love/scenes/battlesystem/actors/parent.lua b/sonic-radiance.love/scenes/battlesystem/actors/parent.lua index 0dd73bd..89c937f 100644 --- a/sonic-radiance.love/scenes/battlesystem/actors/parent.lua +++ b/sonic-radiance.love/scenes/battlesystem/actors/parent.lua @@ -2,6 +2,9 @@ local Parent = Object:extend() -- On créer la classe des entitées, c'est la cl local maputils = require "scenes.battlesystem.utils" +-- INIT FUNCTION +-- Initilize the actor + function Parent:new(world, x, y, z) self.depth = 0 self.x = x @@ -28,6 +31,13 @@ function Parent:register() self.world:registerActor(self) end +function Parent:update(dt) + -- lol +end + +-- SPRITE FUNCTIONS +-- Handle the character sprite + function Parent:setSprite(name, ox, oy, active) self.sprite = {} @@ -50,9 +60,8 @@ function Parent:drawSprite(tx, ty) end end -function Parent:update(dt) - -- lol -end +-- DRAW FUNCTIONS +-- Handle draw functions function Parent:draw()