stateful.lua



Original forum thread .

Latest version:

https://github.com/kikito/stateful.lua

stateful.lua allows the addition of states to objects in Lua. An object can have different states, and behave differently depending on which state it is in.

Please refer to the forum post above or the latest version link for examples of use.