Liberi
An exergame built for kids with CP!
All Classes Functions Variables Properties Events
DeviceManager Class Reference

Manages game devices. More...

Inherits MonoBehaviour.

Public Member Functions

bool IsDeviceEnabled (string deviceId)
 Checks if the device with the given ID is enabled. More...
 
void EnableDevice (string deviceId)
 Enables a device by ID. More...
 
void DisableDevice (string deviceId)
 Disables a device by ID. More...
 
UJeli GetDeviceSaveOptions (string deviceId)
 Returns the relevant save option jeli of a device by ID. More...
 
void ConfigureFireAnt ()
 
void StartFireAnt ()
 

Properties

static DeviceManager Instance [get]
 Gets the sole instance of the device manager. More...
 
string[] DeviceIDs [get]
 Gets an array of the IDs of all registered devices. More...
 
Process FireAntProcess [get]
 

Detailed Description

Manages game devices.

Definition at line 13 of file DeviceManager.cs.

Member Function Documentation

void DeviceManager.DisableDevice ( string  deviceId)
inline

Disables a device by ID.

Definition at line 77 of file DeviceManager.cs.

void DeviceManager.EnableDevice ( string  deviceId)
inline

Enables a device by ID.

Definition at line 63 of file DeviceManager.cs.

UJeli DeviceManager.GetDeviceSaveOptions ( string  deviceId)
inline

Returns the relevant save option jeli of a device by ID.

Definition at line 91 of file DeviceManager.cs.

bool DeviceManager.IsDeviceEnabled ( string  deviceId)
inline

Checks if the device with the given ID is enabled.

Definition at line 51 of file DeviceManager.cs.

Property Documentation

string [] DeviceManager.DeviceIDs
get

Gets an array of the IDs of all registered devices.

Definition at line 27 of file DeviceManager.cs.

DeviceManager DeviceManager.Instance
staticget

Gets the sole instance of the device manager.

Definition at line 19 of file DeviceManager.cs.


The documentation for this class was generated from the following file: