Example #1
0
 private void CheckBlockOverlap()
 {
     if (_blockSpawner.GetBlockPosition() == _snakeController.GetPosition())
     {
         _blockSpawner.SpawnBlock();
         _snakeController.Grow();
     }
 }