Commit 052ddd5a authored by 熊东起's avatar 熊东起

first

parent 99c26aaa
...@@ -76,6 +76,7 @@ export default class Food extends MoveObjcet implements PoolElement { ...@@ -76,6 +76,7 @@ export default class Food extends MoveObjcet implements PoolElement {
this.y += MConst.FoodSplitVelocityY; this.y += MConst.FoodSplitVelocityY;
if (this.y > 1324) { if (this.y > 1324) {
DataMgr.game.foodPool.recycle(this); DataMgr.game.foodPool.recycle(this);
} }
} }
......
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