package nl.ru.ai.projects.parrot.tools;
import nl.ru.ai.projects.parrot.dronecontrol.simulator.Simulator;
private long time;
private int threshold;
time = Simulator.getInstance().getCurrentTimeStamp();
threshold = 30000;
}
time = Simulator.getInstance().getCurrentTimeStamp();
}
this.threshold = threshold;
}
@Override
return (Simulator.getInstance().getCurrentTimeStamp()-time > threshold);
}
}