Esempio n. 1
0
 private void EatGhost(Ghost ghost)
 {
     ghost.SetEaten(_ghostEatenPoints);
     _ghostEatenPause = 60;
     _tick.PushEvent(60);
     IncreaseScore(_ghostEatenPoints switch
     {
         PointsMultiplier.Pts200 => 200,
         PointsMultiplier.Pts400 => 400,
         PointsMultiplier.Pts800 => 800,
         PointsMultiplier.Pts1600 => 1600,
         _ => 0
     }