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) |
(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()()()() |
(Inherited from Object.) |
Inheritance Hierarchy
Object | ||
InputCondition | ||
KeyPressedCondition | ||
KeyReleasedCondition |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)