C# Класс PrinceGame.Accelerometer

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Accelerometer ( ) : System

Описание методов

GetState() публичный статический Метод

Gets the current state of the accelerometer.
public static GetState ( ) : AccelerometerState
Результат AccelerometerState

Initialize() публичный статический Метод

Initializes the Accelerometer for the current game. This method can only be called once per game.
public static Initialize ( ) : void
Результат void