Refonte pour utiliser le systeme de GUI #112

Merged
kazhnuz merged 102 commits from feat/gui into master 2022-01-06 19:15:16 +01:00
Showing only changes of commit 02edc4fc07 - Show all commits

View file

@ -67,6 +67,10 @@ function Rect:getRelativeCoordinate(dx, dy)
return dx - self.x, dy - self.y
end
function Rect:getDimensions()
return self.w, self.h
end
function Rect:drawBox()
utils.graphics.box(self.x, self.y, self.w, self.h)
end