Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
T2DActivity Class Reference

`#include <T2DActivity.h>`

## Public Member Functions
| T2DActivity ()
void | enableAccelerometer (bool enable)
bool | isAccelerometerActive ()
void | loadCacheDir ()
char * | getCacheDir ()
void | update ()
void | finishShutdown ()
void | finishGLSetup ()
void | enumerateFonts ()
void | dumpFontList ()
void | getFontPath (const char *fontName, char *fontPath)

## Constructor & Destructor Documentation

T2DActivity | ( |  | ) |
| inline

## Member Function Documentation

void dumpFontList | ( |  | ) |

void enableAccelerometer | ( | bool | enable | ) |

void enumerateFonts | ( |  | ) |

void finishGLSetup | ( |  | ) |

void finishShutdown | ( |  | ) |

char* getCacheDir | ( |  | ) |
| inline

void getFontPath | ( | const char * | fontName,
|  | char * | fontPath
| ) |  |

bool isAccelerometerActive | ( |  | ) |
| inline

void loadCacheDir | ( |  | ) |

void update | ( |  | ) |

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

- platformAndroid/T2DActivity.h
- platformAndroid/T2DActivity.cpp