C# Class PrinceGame.Accelerometer

Show file Open project: salvadorc17/Prince-Monogame Class Usage Examples

Public Methods

Method 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

Method Description
Accelerometer ( ) : System

Method Details

GetState() public static method

Gets the current state of the accelerometer.
public static GetState ( ) : AccelerometerState
return AccelerometerState

Initialize() public static method

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