void CheckCollision() { if (isCollided(snake, food)) { food.ConsumeFood(); snake.AddBlock(); score += 100; SpawnFood(bounds, foodmap); } }