1 2 3 4 5 6 7 8 9 10 11 12 13 14
Class = require("libs.hump.class") Entity = Class { init = function(self) end } Entity:draw() end Entity:update(dt) end return Entity