Tesseract Engine Documentation

TerrainEvent Members

TerrainEvent overview

Public Instance Constructors

TerrainEvent Constructor Creates the TerrainEvent from XML Has a model to draw for LevelEditing

Public Instance Fields

_lastNodeVisited (inherited from GameEvent) ID Number of the Last Node Visited
_trigger_ID (inherited from GameEvent) Sanity level that triggers the event
_triggerCoins (inherited from GameEvent) Number of coins that triggers the event
_triggerSanity (inherited from GameEvent) Sanity level that triggers the event
_typeID (inherited from GameEvent) 

Public Instance Properties

drawable (inherited from GameEvent) Tells the LevelEditor to draw the event
endPosition Where to end the terrainMod
isFinished (inherited from GameEvent) 
isRetriggerable (inherited from GameEvent) 
isTriggered (inherited from GameEvent) 
lastNodeVisited (inherited from GameEvent) ID Number of the Last Node Visited Use the _underscore varient of this variable to avoid calling UpdateConditions.
modamount How high for the terrainMod
startPosition Where to start the terrainMod
timer Timer to set on the terrainMod
trigger_ID (inherited from GameEvent) 
triggerCoins (inherited from GameEvent) Number of coins that triggers the event Use the _underscore varient of this variable to avoid calling UpdateConditions.
triggerSanity (inherited from GameEvent) 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 (inherited from GameEvent) Type, used for parsing into the List

Public Instance Methods

Draw Adds the Terrain model to the draw list for LevelEditing
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FireEvent Sends the terrainMod as a request to MajikWand.cs for build
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 (inherited from GameEvent) Overrides the ToString method for each GameEvent Condition and CurrentGameConditions
ToXml Create XML for TerrainEvents

Protected Instance Fields

drawList (inherited from GameEvent) 
eventBoxColor (inherited from GameEvent) 
eventLimitMilli (inherited from GameEvent) 
eventMessage (inherited from GameEvent) 
eventSpeaker (inherited from GameEvent) 
eventTexture (inherited from GameEvent) 
Finished (inherited from GameEvent) 
Retriggerable (inherited from GameEvent) 
Triggered (inherited from GameEvent) 

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

TerrainEvent Class | DarkWynter.Engine.EventControl.EventTypes Namespace