C# Class PantheonPrototype.QuestCreator

Mostrar archivo Open project: Bacon41/PantheonPrototype Class Usage Examples

Public Methods

Method 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 method

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.
return void

QuestCreator() public method

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
return System

Unregister() public method

public Unregister ( Pantheon gameReference ) : void
gameReference Pantheon
return void