2017-04-17 06:17:10 -06:00

26 lines
758 B
C#
Executable File

//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// PlayGui is the main TSControl through which the game is viewed.
//-----------------------------------------------------------------------------
function PlayGui::onWake(%this)
{
// Turn off any shell sounds...
// alxStop( ... );
$enableDirectInput = "1";
activateDirectInput();
// Activate the game's action map
moveMap.push();
}
function PlayGui::onSleep(%this)
{
// Pop the keymap
moveMap.pop();
}