Skip to content
Snippets Groups Projects
Commit 51f8ab66 authored by Karlsen Adiyasa Bachtiar's avatar Karlsen Adiyasa Bachtiar
Browse files

adjust finalLevel

parent beb78a23
No related merge requests found
......@@ -9,6 +9,7 @@ public class EnemyManager : MonoBehaviour
public static int remainingEnemies = 0;
public static int remainingWeight;
public static int waveLevel;
public static int finalLevel = 6;
public bool isZenMode = true;
[SerializeField]
......@@ -80,6 +81,6 @@ public class EnemyManager : MonoBehaviour
}
bool IsWinning() {
return (waveLevel-1 > 2);
return (waveLevel-1 > finalLevel);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment