Skip to content

Instantly share code, notes, and snippets.

@jennymaeleidig
Created May 23, 2026 18:04
Show Gist options
  • Select an option

  • Save jennymaeleidig/278385abe3e0052318eb030f1e7b7fc0 to your computer and use it in GitHub Desktop.

Select an option

Save jennymaeleidig/278385abe3e0052318eb030f1e7b7fc0 to your computer and use it in GitHub Desktop.
function new_obj()
local obj = {}
-- init logic
obj.update = function(this)
-- update logic
end
obj.draw = function(this)
-- draw logic
end
return obj
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment