C# Class PrinceGame.Accelerometer

Afficher le fichier Open project: salvadorc17/Prince-Monogame Class Usage Examples

Méthodes publiques

Méthode Description
GetState ( ) : AccelerometerState

Gets the current state of the accelerometer.

Initialize ( ) : void

Initializes the Accelerometer for the current game. This method can only be called once per game.

Private Methods

Méthode Description
Accelerometer ( ) : System

Method Details

GetState() public static méthode

Gets the current state of the accelerometer.
public static GetState ( ) : AccelerometerState
Résultat AccelerometerState

Initialize() public static méthode

Initializes the Accelerometer for the current game. This method can only be called once per game.
public static Initialize ( ) : void
Résultat void