Skip to content

Commit ca34966

Browse files
committed
fix docs
1 parent ea8d055 commit ca34966

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/en/book/index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ initialize the Stage. You only need to place this statement
2828
Stage stage;
2929
3030
void setup(){
31-
stage = new Stage(this);
32-
stage=Stage.getInstance();
31+
stage = new Stage(this);
3332
}
3433
3534
void draw(){
@@ -136,7 +135,7 @@ CatSprite myCat;
136135
void setup(){
137136
size(800,600);
138137
stage = new Stage(this);
139-
stage=Stage.getInstance();
138+
140139
myCat=new CatSprite();
141140
stage.add(myCat);
142141
}
@@ -341,7 +340,7 @@ CatSprite myCat;
341340
void setup(){
342341
size(800,600);
343342
stage = new Stage(this);
344-
stage=Stage.getInstance();
343+
345344
myCat=new CatSprite();
346345
stage.add(myCat);
347346
}

0 commit comments

Comments
 (0)