remove init() from scene
This commit is contained in:
parent
f056459b81
commit
8937bc7dfa
@ -18,10 +18,6 @@ export class Scene {
|
|||||||
|
|
||||||
this.addLayer(layer);
|
this.addLayer(layer);
|
||||||
|
|
||||||
this.init(width, height);
|
|
||||||
}
|
|
||||||
|
|
||||||
init(width, height) {
|
|
||||||
this.setScreenSize(width, height);
|
this.setScreenSize(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user