コード例 #1
0
 public static void checkBossWave(int spawnCount)
 {
     if (spawnCount != 0 && spawnCount % BOSS_WAVE_LIMIT == 0)
     {
         EnemySpawnPoint.setSpawn();
         spawnBoss();
     }
 }
コード例 #2
0
    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;
    }