305 B
305 B
ui system game system
seperated
simple, minimalistic solution
mousepressed = window.mousepressed(self, function(self,x, y, button) end)
draw = window.draw(self, function (self) end)
update
-
game
- screen
- items
- log
-
node
- x, y, width, height,
- draw, update, mousepressed