An extended FlxState

Constructor

@:value({ esc_exits : false, mouse_visible : false })new (mouse_visible:Bool = false, esc_exits:Bool = false)

Creates a new State with some options

 *  @param mouse_visible	whether or not the mouse is visible
 *  @param esc_exits		whether or not pressing ESC on cpp targets will exit the game