[library] Upperclass.lua
Posted: Mon Jan 05, 2015 5:07 am
Hello All,
Presenting Upperclass, a Lua Class Implementation for the privileged
https://github.com/admin36/lua-upperclass
Although many other class implementations exist, upperclass provides additional class features such as:
Presenting Upperclass, a Lua Class Implementation for the privileged
https://github.com/admin36/lua-upperclass
Although many other class implementations exist, upperclass provides additional class features such as:
- Class Member Scopes public, private, protected allowing tailored access to class members from inside/outside of classes
- Strict Class Property Member types that support all available lua types string, boolean, number, table, userdata and behavior to fail when property types are violated
- Ability to utilize metamethods __index and __newindex within your class definition to build custom class behavior (most other class libraries prohibit use of __index and __newindex