Commit 38f2c6da authored by 邱旭's avatar 邱旭

07.FlppyBird-背景循环滚动

parent 2d272ea3
......@@ -62,7 +62,6 @@ class GameObject {
* @returns {{width: number, height: number}}
*/
getSize() {
const { x, y } = this.getScale();
return {
width: this.dom.clientWidth,
height: this.dom.clientHeight,
......
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