I want to have an enumeration of a number of states which I can use to control a game loop. The states are mutually exclusive so this is something I would typically use an enum for in other languages.
Are enums supported in Lua?
If so, what’s the syntax?
[import]uid: 8353 topic_id: 2319 reply_id: 302319[/import]