예제 #1
0
    public void updateGameManager()
    {
        enemiesKilled++;
        if (timeSmallSpawn > 1.5f)
        {
            //small Enemy adjustment
            timeSmallSpawn = calculateSmallSpawn();
            spawnSmall.getInfoFromGameManager(timeSmallSpawn);
        }

        if (timeShotgunnerSpawn > 2.0f)
        {
            //shotgunner Enemy spawn
            timeShotgunnerSpawn = calculateShotgunSpawn();
            spawnShotguns.getInfoFromGameManager(timeShotgunnerSpawn);
        }
        //Evaulate boss requirementss
        if (enemiesKilled >= 50)
        {
        }
    }