Exemple #1
0
//------------------------------------------------------------------------------
// killedNotification() -- We were just killed by player 'p'
//------------------------------------------------------------------------------
bool Radar::killedNotification(Player* const p)
{
   clearTracksAndQueues();

   // ---
   // Make sure our base class knows we're dead.
   // ---
   BaseClass::killedNotification(p);
   return true;
}
Exemple #2
0
//------------------------------------------------------------------------------
// shutdownNotification()
//------------------------------------------------------------------------------
bool IrSensor::shutdownNotification()
{
   setTrackManager(nullptr);
   clearTracksAndQueues();
   return BaseClass::shutdownNotification();
}
Exemple #3
0
//------------------------------------------------------------------------------
// reset() -- Reset parameters
//------------------------------------------------------------------------------
void Radar::reset()
{
   BaseClass::reset();
   clearTracksAndQueues();
}
Exemple #4
0
void IrSensor::deleteData()
{
   setTrackManager(nullptr);
   setTrackManagerName(nullptr);
   clearTracksAndQueues();
}