|
Oh and one more thing, you can use a hybrid approach, as Lua does let you (using __call in metatables) have something that you can call as a function and also use as an object ie you can do nextstate() or self() and self.entry_actions() so you end up with what looks like a hybrid function/object model. Justin