Commit 28e8ae04 authored by 邱旭's avatar 邱旭

09.FlppyBird-节点树

parent 42bdea7c
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
bird; bird;
async reloadRes() { async preloadRes() {
const path = "../images/bird/"; const path = "../images/bird/";
const promises = [ const promises = [
......
...@@ -161,7 +161,7 @@ class GameStage extends GameObject { ...@@ -161,7 +161,7 @@ class GameStage extends GameObject {
* 预加载资源 * 预加载资源
* @returns {Promise<void>} * @returns {Promise<void>}
*/ */
async reloadRes() { async preloadRes() {
} }
...@@ -270,7 +270,7 @@ class FlppyBird extends GameStage { ...@@ -270,7 +270,7 @@ class FlppyBird extends GameStage {
bird; bird;
async reloadRes() { async preloadRes() {
const path = "../images/bird/"; const path = "../images/bird/";
const promises = [ const promises = [
......
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