We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d368416 commit a5b6ba2Copy full SHA for a5b6ba2
documentation/01_tutorial/04-3-groundwork.html.md
@@ -54,7 +54,7 @@ First up, let's create a simple menu. Eventually, we'll want a fancy `MenuState`
54
```haxe
55
function clickPlay()
56
{
57
- FlxG.switchState(new PlayState());
+ FlxG.switchState(PlayState.new);
58
}
59
```
60
(`import flixel.FlxG;`)
0 commit comments