local Sprite = { x = 0, y = 0, } Sprite.__index = Sprite function Sprite:update(dt) end function Sprite.draw(sp) -- camera end return Sprite