Commit 07fbd997 authored by 邱旭's avatar 邱旭

10.FlppyBird-创建障碍

parent bef3ef18
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
ready() { ready() {
super.ready(); super.ready();
// 创建计时器来固定事件创建Pie // 创建计时器来固定时间创建Pie
setInterval(() => this.createPie(), this.delay); setInterval(() => this.createPie(), this.delay);
} }
......
...@@ -66,7 +66,7 @@ class PieMgr extends GameObject { ...@@ -66,7 +66,7 @@ class PieMgr extends GameObject {
ready() { ready() {
super.ready(); super.ready();
// 创建计时器来固定事件创建Pie // 创建计时器来固定时间创建Pie
setInterval(() => this.createPie(), this.delay); setInterval(() => this.createPie(), this.delay);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment