예제 #1
0
 private void AddAndMoveCircleToStart(CircleModel circle)
 {
     if (_circlesHash.Count < _maxCircleCount)
     {
         CreateCircle();
     }
     MoveCircleToStart(circle);
 }
예제 #2
0
 private void AddCircle(CircleModel circle)
 {
     if (!_circlesHash.Contains(circle))
     {
         circle.Destroyed     += AddAndMoveCircleToStart;
         circle.IncreaseScore += OnIncreaseScore;
         _circlesHash.Add(circle);
     }
 }
예제 #3
0
 private void MoveCircleToStart(CircleModel circle)
 {
     circle.Reinitialize(GetStartPoint());
     //CheckBounds(circle);
 }