static void increaseScore(Board.CollisionInfo collisionInfo) { if (collisionInfo == Board.CollisionInfo.AteFly) { score++; } }
static void CheckCollision(Board.CollisionInfo collisionInfo) { if (collisionInfo == Board.CollisionInfo.AteFly) { SpawnFly(); } }
static void CheckCollision(Board.CollisionInfo collisionInfo) { if (collisionInfo == Board.CollisionInfo.AteFly) { Grow(); } else { Game.Stop(); } }