Enums aren't classes or structs - it's just a bit of syntactic sugar over the ints. I think Enums should be allowed, as long as they're in the same file as the rest of the game.