C# Class PantheonPrototype.QuestCreator

Afficher le fichier Open project: Bacon41/PantheonPrototype Class Usage Examples

Méthodes publiques

Méthode Description
ActivateQuest ( Event eventInfo ) : void

The event handler function which creates a quest on demand.

QuestCreator ( QuestMetaLoader metaLoader, Pantheon gameReference ) : System

Initializes the quest creator object with possible quests and registers the quest creator for quest creation notifications.

Unregister ( Pantheon gameReference ) : void

Method Details

ActivateQuest() public méthode

The event handler function which creates a quest on demand.
public ActivateQuest ( Event eventInfo ) : void
eventInfo Event The event... with the correct information. Contains the quest name to create.
Résultat void

QuestCreator() public méthode

Initializes the quest creator object with possible quests and registers the quest creator for quest creation notifications.
public QuestCreator ( QuestMetaLoader metaLoader, Pantheon gameReference ) : System
metaLoader LevelLoad.QuestMetaLoader The metaLoader object.
gameReference Pantheon
Résultat System

Unregister() public méthode

public Unregister ( Pantheon gameReference ) : void
gameReference Pantheon
Résultat void