You can clone with
Middleclass is an object-oriented library for Lua.
If you are familiar with Object Orientation in other languages (C++, Java, Ruby … ) then you will probably find this library very easy to use.
The code is reasonably commented, so you might want to employ some time in reading through it, in order to gain insight of Lua’s amazing flexibility.
Last edited by kikito, December 12, 2010