Tesla Graphics Engine Documentation (January 2012)
InputCondition Class
TeslaTesla.InputInputCondition
InputCondition contains a condition that must be satisfied by the input. If a condition is true, then an action can be performed. This is paired with an InputAction inside an InputTrigger. Conditions and actions can vary independently of one another, allowing conditions to be reused.
Declaration Syntax
C#
public class InputCondition
Members
All Members Constructors Methods



Icon Member Description
InputCondition()()()()
Creates a new instance of InputCondition.

InputCondition(InputCondition..::..DelegateInputCondition)
Create a new InputCondition with the specified delegate function.

Check(GameTime)
Check if the condition has been satisfied or not.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)