public static void checkBossWave(int spawnCount) { if (spawnCount != 0 && spawnCount % BOSS_WAVE_LIMIT == 0) { EnemySpawnPoint.setSpawn(); spawnBoss(); } }
public static void continueWave() { Score.increaseScore(); Feet.instance.startAnimation(); Background.setBackgroundActive(); UIHandler.changeMusicClip(); EnemySpawnPoint.setSpawn(); EnemySpawnPoint.increaseBaseSpawnCount(); if (EnemySpawnPoint.getBaseSpawnCount() >= GHOST_LIMIT) { Enemy.setGhostColor(); } isBossEntered = false; }