InputTriggers are defined by a condition and an
action. If the condition is satisfied, the action
is triggered.
Declaration Syntax
C# |
public sealed class InputTrigger
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
InputTrigger(InputCondition, InputAction) |
Creates a new InputTrigger with the specified condition and action. It
is enabled by default.
|
|
Action |
Get or set the action of this trigger.
|
|
CheckAndPerform(GameTime) |
Checks the condition and performs the action
if the condition is satisfied.
|
|
Condition |
Get or set the condition of this trigger.
|
|
Equals(Object) |
(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.) |
|
IsEnabled |
Get or set if this trigger is enabled.
|
|
ToString()()()() |
(Inherited from Object.) |
Inheritance Hierarchy
Object | |
InputTrigger |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)