C# Class control.GestureManager

Manage a collection of gesture and perodically evaluate them.
Afficher le fichier Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Méthodes publiques

Свойство Type Description
paused bool
running bool

Méthodes publiques

Méthode Description
AddGesture ( Gesture g ) : void

to add a new gesture to the list.

GestureManager ( int pointingHand ) : System

Constructor of the GestuerManager Class

Run ( ) : void

the function that will be runing in the sperated thread.

start ( ) : void

to start the evaluation thread.

updateState ( ) : void

update(evaluate) the state of all gesture.

Method Details

AddGesture() public méthode

to add a new gesture to the list.
public AddGesture ( Gesture g ) : void
g Gesture the gesture to be added
Résultat void

GestureManager() public méthode

Constructor of the GestuerManager Class
public GestureManager ( int pointingHand ) : System
pointingHand int A spsecific hand to will be used for pointing(aiming)
Résultat System

Run() public méthode

the function that will be runing in the sperated thread.
public Run ( ) : void
Résultat void

start() public méthode

to start the evaluation thread.
public start ( ) : void
Résultat void

updateState() public méthode

update(evaluate) the state of all gesture.
public updateState ( ) : void
Résultat void

Property Details

paused public_oe static_oe property

true while the game is paused.
public static bool paused
Résultat bool

running public_oe static_oe property

true while the game is running.
public static bool running
Résultat bool