SpriteAnimation.lua
Tile.lua
Neo3D.lua
QuadTree.lua
Widget.lua
Sprite.lua
Collision.lua
OEntity.lua
Button.lua
Graphics2D.lua
InputField.lua
LuaUnit.lua
Tests.lua
OCamera.lua
Object3d.lua
class.lua
OLight.lua
SpriteSheet.lua
OSound.lua
Utils.lua
Canvas.lua
Label.lua
Api.lua

function class(base, init)

The Class interface
This function is used to generate class constructors that support
inheritance to allow more sophisticated object oriented design.

Inheritance allows using all methods in subclasses.
Attention: Fields will not be available in the subclass!

Example:


Constructor = class(
     function(self, arg)
         -- This is the actual constructor!
         self.somevar = arg
     end
)

ConstructorChild = class( Constructor,
     function(self, arg)
         self.somevar = arg
     end
)

function Constructor:someMethod()
     -- Do something!
end


Taken from: lua-users.org

class.lua

Compatible with Lua 5.1 (not 5.0).