// ボール破壊 public void DestroyBall(Ball target) { var node = this.activeBalls.Find(target); if (node != null) { // 終了処理 target.Term(); this.activeBalls.Remove(node); this.freeBalls.AddLast(target); } }
// ボール破壊 public void DestroyBall(Ball target) { var node = this.activeBalls.Find(target); if (node != null) { // 終了処理 target.Term(); this.activeBalls.Remove(node); this.freeBalls.AddLast(target); } }