Initial commit
This commit is contained in:
17
Torque/SDK/engine/gui/shiny/guiTickCtrl.cc
Normal file
17
Torque/SDK/engine/gui/shiny/guiTickCtrl.cc
Normal file
@@ -0,0 +1,17 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// Torque Game Engine
|
||||
// Copyright (C) GarageGames.com, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
#include "gui/shiny/guiTickCtrl.h"
|
||||
|
||||
IMPLEMENT_CONOBJECT( GuiTickCtrl );
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
ConsoleMethod( GuiTickCtrl, setProcessTicks, void, 2, 3, "( [tick = true] ) - This will set this object to either be processing ticks or not" )
|
||||
{
|
||||
if( argc == 3 )
|
||||
object->setProcessTicks( dAtob( argv[2] ) );
|
||||
else
|
||||
object->setProcessTicks();
|
||||
}
|
||||
Reference in New Issue
Block a user