package; import core.MenuState; import flixel.FlxG; import flixel.FlxState; class PlayState extends FlxState { override public function create() { super.create(); FlxG.switchState(new MenuState()); } override public function update(dt:Float) { super.update(dt); } }