This commit is contained in:
Leijurv 2018-11-05 14:22:30 -08:00
parent 2c39cd06ed
commit e11e3dfd86
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -43,7 +43,8 @@ public interface IBaritoneProcess {
*
* @param calcFailed true if this specific process was in control last tick, and there was a CALC_FAILED event last tick
* @param isSafeToCancel true if a REQUEST_PAUSE would happen this tick, and PathingBehavior wouldn't actually tick.
* false if the PathExecutor reported pausing would be unsafe at the end of the last tick
* false if the PathExecutor reported pausing would be unsafe at the end of the last tick.
* Effectively "could request cancel or pause and have it happen right away"
* @return what the PathingBehavior should do
*/
PathingCommand onTick(boolean calcFailed, boolean isSafeToCancel);