public void CheckCollisions() { if (PlayerOnFood()) { Score += 100; SpawnFood(); ThePlayer.Grow(); } else if (PlayerOnPlayer()) { EndGame("You collided with yourself!"); } }