QuestReward

Representation of a quest reward The Quest guide has instructions on to create new reward type for quests

Constructor

new QuestReward()

Methods

static display()

Render the reward

Returns:
-

string

static reward(GameState, quest, config, player)

Assign the reward to the player

Parameters:
Name Type Description
GameState GameState
quest Quest

quest this reward is being given from

config object
player Player