05-10-2015, 09:32 PM
Its not real OOP, you can do it in a lot of diffrent ways. You just create function new , that returns new table. Also you can store functions in variables ( varName = function (params) ... ).
Also , official tutorial ( if i didnt forget ... ) : http://www.lua.org/pil/16.html
Also , official tutorial ( if i didnt forget ... ) : http://www.lua.org/pil/16.html