Cosmetic changes only.

This commit is contained in:
hiker 2016-01-29 08:18:34 +11:00
parent e81935df99
commit 17de128f09
2 changed files with 12 additions and 14 deletions

View File

@ -26,6 +26,11 @@ KartUpdateProtocol::~KartUpdateProtocol()
{ {
} // ~KartUpdateProtocol } // ~KartUpdateProtocol
// ----------------------------------------------------------------------------
void KartUpdateProtocol::setup()
{
} // setup
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
bool KartUpdateProtocol::notifyEventAsynchronous(Event* event) bool KartUpdateProtocol::notifyEventAsynchronous(Event* event)
{ {
@ -55,11 +60,6 @@ bool KartUpdateProtocol::notifyEventAsynchronous(Event* event)
return true; return true;
} // notifyEventAsynchronous } // notifyEventAsynchronous
// ----------------------------------------------------------------------------
void KartUpdateProtocol::setup()
{
} // setup
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
void KartUpdateProtocol::update() void KartUpdateProtocol::update()
{ {

View File

@ -30,6 +30,13 @@ SynchronizationProtocol::~SynchronizationProtocol()
} // ~SynchronizationProtocol } // ~SynchronizationProtocol
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void SynchronizationProtocol::setup()
{
Log::info("SynchronizationProtocol", "Ready !");
m_countdown = 5.0; // init the countdown to 5s
m_has_quit = false;
} // setup
//-----------------------------------------------------------------------------
bool SynchronizationProtocol::notifyEventAsynchronous(Event* event) bool SynchronizationProtocol::notifyEventAsynchronous(Event* event)
{ {
@ -121,15 +128,6 @@ bool SynchronizationProtocol::notifyEventAsynchronous(Event* event)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void SynchronizationProtocol::setup()
{
Log::info("SynchronizationProtocol", "Ready !");
m_countdown = 5.0; // init the countdown to 5s
m_has_quit = false;
} // setup
//-----------------------------------------------------------------------------
void SynchronizationProtocol::asynchronousUpdate() void SynchronizationProtocol::asynchronousUpdate()
{ {
double current_time = StkTime::getRealTime(); double current_time = StkTime::getRealTime();