MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / destroy

Method destroy

engine/source/platformAndroid/AndroidInput.cpp:289–301  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

287
288//------------------------------------------------------------------------------
289void Input::destroy()
290{
291 // turn us off.
292 if (gInputEnabled)
293 disable();
294
295 if ( smManager && smManager->isEnabled() )
296 {
297 smManager->disable();
298 delete smManager;
299 smManager = NULL;
300 }
301}
302
303//------------------------------------------------------------------------------
304bool Input::enable()

Callers

nothing calls this directly

Calls 2

isEnabledMethod · 0.45
disableMethod · 0.45

Tested by

no test coverage detected