Méthode | Description | |
---|---|---|
AddQuest ( |
Add quest to the player. This shoud be used from NPC(dialog).
|
|
ClearQuests ( ) : void |
Reset the list of quests
|
|
Player ( int health = 100, int armour = 30, int damage = 20, int maxHealth = -1, string name = "" ) : System |
The constructor for a player. Sets the default values. See actor for the params.
|
|
UpdateQuests ( ) : void |
This method update the status of all player quests and grants the rewards
|
public Player ( int health = 100, int armour = 30, int damage = 20, int maxHealth = -1, string name = "" ) : System | ||
health | int | |
armour | int | |
damage | int | |
maxHealth | int | |
name | string | |
Résultat | System |