Метод | Описание | |
---|---|---|
AddQuest ( |
Add quest to the player. This shoud be used from NPC(dialog).
|
|
ClearQuests ( ) : void |
Reset the list of quests
|
|
HideQuest ( int id ) : void | ||
Interact ( |
Method to interact with a NPC. Either opens the NPC's shop or his dialogue. Calls the Eventhandler.
|
|
NPC ( int health = 10, int armor, int damage, int maxHealth = 10, string name = "", |
The constructor for a NPC. Initializes the standard properties and graphics for that NPC. See actor for the params.
|
public Interact ( |
||
With | The actor with which should be interacted | |
Результат | void |
public NPC ( int health = 10, int armor, int damage, int maxHealth = 10, string name = "", |
||
health | int | |
armor | int | |
damage | int | |
maxHealth | int | |
name | string | |
r | ||
_level | int | |
shop | bool | |
Результат | System |