CEL

Public API Reference

iTriggerType Struct Reference

The trigger type is responsible for the creation of trigger factories. More...

#include <tools/triggers.h>

Inheritance diagram for iTriggerType:

List of all members.

Public Member Functions

virtual csPtr< iTriggerFactoryCreateTriggerFactory ()=0
 Create a trigger factory.
virtual const char * GetName () const =0
 Return the name for this trigger type.

Detailed Description

The trigger type is responsible for the creation of trigger factories.

If you want to define a new type of trigger then you must implement iTriggerType, iTriggerFactory, and iTrigger.

An example use of triggers is, to register the trigger types with a quest manager so that they can be used by quest factories.

Definition at line 131 of file triggers.h.


Member Function Documentation

virtual csPtr<iTriggerFactory> iTriggerType::CreateTriggerFactory (  )  [pure virtual]

Create a trigger factory.

virtual const char* iTriggerType::GetName (  )  const [pure virtual]

Return the name for this trigger type.


The documentation for this struct was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.0 by doxygen 1.6.1