Class: BossManager

BossManager


new BossManager()

Properties:
Name Type Description
Bosses object.<Boss>
Source:

Methods


<private> _initBossClients()

Source:

add(boss)

Parameters:
Name Type Description
boss Boss
Source:
Returns:
Type
Boss

giveRewards(bossID, bossDifficulty)

Gives rewards for the boss battle

Parameters:
Name Type Description
bossID string
bossDifficulty 'Easy' | 'Normal' | 'Hard'
Source:

incrementBossCompleted(bossID, difficulty)

Increases the times the player has beaten this boss

Parameters:
Name Type Description
bossID string
difficulty 'Easy' | 'Normal' | 'Hard'
Source:

startBossBattle(bossID, bossDifficulty)

Parameters:
Name Type Description
bossID string
bossDifficulty string
Source:
Returns:
Type
Promise.<any>