예제 #1
0
 public void IncreaseScore(ScoreType value)
 {
     if (value == ScoreType.Telleport)
     {
         achivementControlller.FirstTeleportAchivement();
     }
     if (value == ScoreType.BlackHole)
     {
         achivementControlller.FirstBlackholeAchivement();
     }
     scoreContainer.AddPoints(value, (int)value);
     levelController.score += (int)value;
 }