Exemplo n.º 1
0
 public static void AddProgress(float amount)
 {
     potionProgress += amount;
     if (potionProgress >= 100 && posX >= TileGenerator.endLength)
     {
         DayTime.Win();
     }
 }