//------------------------------------------------------------------------------ // 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; }
//------------------------------------------------------------------------------ // shutdownNotification() //------------------------------------------------------------------------------ bool IrSensor::shutdownNotification() { setTrackManager(nullptr); clearTracksAndQueues(); return BaseClass::shutdownNotification(); }
//------------------------------------------------------------------------------ // reset() -- Reset parameters //------------------------------------------------------------------------------ void Radar::reset() { BaseClass::reset(); clearTracksAndQueues(); }
void IrSensor::deleteData() { setTrackManager(nullptr); setTrackManagerName(nullptr); clearTracksAndQueues(); }