C# Class PrinceGame.AccelerometerState

An encapsulation of the accelerometer's current state.
Exibir arquivo Open project: salvadorc17/Prince-Monogame Class Usage Examples

Public Methods

Method Description
AccelerometerState ( Vector3 acceleration, bool isActive ) : System
ToString ( ) : string

Returns a string containing the values of the Acceleration and IsActive properties.

Method Details

AccelerometerState() public method

public AccelerometerState ( Vector3 acceleration, bool isActive ) : System
acceleration Vector3
isActive bool
return System

ToString() public method

Returns a string containing the values of the Acceleration and IsActive properties.
public ToString ( ) : string
return string