Tesseract Engine Documentation

GameEvent Members

GameEvent overview

Public Instance Constructors

GameEvent Overloaded. Initializes a new instance of the GameEvent class.

Public Instance Fields

_lastNodeVisited ID Number of the Last Node Visited
_trigger_ID Sanity level that triggers the event
_triggerCoins Number of coins that triggers the event
_triggerSanity Sanity level that triggers the event
_typeID 

Public Instance Properties

drawable Tells the LevelEditor to draw the event
isFinished 
isRetriggerable 
isTriggered 
lastNodeVisited ID Number of the Last Node Visited Use the _underscore varient of this variable to avoid calling UpdateConditions.
trigger_ID 
triggerCoins Number of coins that triggers the event Use the _underscore varient of this variable to avoid calling UpdateConditions.
triggerSanity Sanity level that triggers the event Setting this variable also calls UpdatedEvents, causing Event System to trigger event if conditions match. Use the _underscore varient of this variable to avoid calling UpdateConditions.
typeID Type, used for parsing into the List

Public Instance Methods

Draw 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FireEvent 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString Overrides the ToString method for each GameEvent Condition and CurrentGameConditions
ToXml Create XML for Events

Protected Instance Fields

drawList 
eventBoxColor 
eventLimitMilli 
eventMessage 
eventSpeaker 
eventTexture 
Finished 
Retriggerable 
Triggered 

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

GameEvent Class | DarkWynter.Engine.EventControl Namespace