A small and simple library for OOP in Lua.
Here's a simple example:
localclass=require("Self")
localPoint=class {
x=0,
y=0
}
functionPoint:new(x, y)
self.x=xself.y=yendlocalp=Point(10, 40)Read the docs here
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A small and simple library for OOP in Lua.
Here's a simple example:
localclass=require("Self")
localPoint=class {
x=0,
y=0
}
functionPoint:new(x, y)
self.x=xself.y=yendlocalp=Point(10, 40)Read the docs here