Skip to content

Instantly share code, notes, and snippets.

@ruffenman
ruffenman / ServerState.as
Created February 1, 2011 21:59
an example of an enum class
package
{
/**
* Type-safe enumeration class.
* @author Christophe Herreman, Jorge Capote, Ryan Rauschkolb
* @usage Create a new class and copy the contents from this one. Rename all the "Enum" with
* your own custom enum type. Enumeration values are declared in a your Enum class as follows:
* public static const MY_FIRST_ENUM : MyEnumType = new MyEnumType();
*/
public class MenuState