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 ea8d055 commit ca34966Copy full SHA for ca34966
docs/en/book/index.md
@@ -28,8 +28,7 @@ initialize the Stage. You only need to place this statement
28
Stage stage;
29
30
void setup(){
31
-stage = new Stage(this);
32
-stage=Stage.getInstance();
+ stage = new Stage(this);
33
}
34
35
void draw(){
@@ -136,7 +135,7 @@ CatSprite myCat;
136
135
137
size(800,600);
138
stage = new Stage(this);
139
- stage=Stage.getInstance();
+
140
myCat=new CatSprite();
141
stage.add(myCat);
142
@@ -341,7 +340,7 @@ CatSprite myCat;
341
340
342
343
344
345
346
347
0 commit comments