Tesla Graphics Engine Documentation (January 2012)
InputLayer Class
TeslaTesla.InputInputLayer
InputLayer manages a set of input triggers and is used to logically organize triggers.
Declaration Syntax
C#
public sealed class InputLayer
Members
All Members Constructors Methods Properties



Icon Member Description
InputLayer()()()()
Creates a new instance of InputLayer which is by default enabled.

CheckTriggers(GameTime)
Checks each trigger if its condition is true, then performs it.

EnableTrigger(Int32, Boolean)
Enables or disables a specific trigger using the specified index.

Equals(Object)
Determines whether the specified Object is equal to the current 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 input layer is enabled.

RegisterTrigger(InputTrigger)
Register a new trigger to the layer to track and update.

RemoveAllTriggers()()()()
Removes all triggers from the layer.

RemoveTrigger(InputTrigger)
Remove a trigger from the layer.

RemoveTrigger(Int32)
Remove a trigger from the layer at the specified index.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Triggers
Get the collection of triggers associated with this input layer.

Inheritance Hierarchy
Object
InputLayer

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