startUsingRoads: Use roads for the next tasks. The task force will use roads to advance to any new task added to the task force, after this function is invoked.
stopUsingRoads: Stop using roads for the next tasks. The task force will not use roads to advance to any new task added to the task force, after this function is invoked.
Using setUseRoads is confusing
Split
setUseRoads
into two functions:startUsingRoads
: Use roads for the next tasks. The task force will use roads to advance to any new task added to the task force, after this function is invoked.stopUsingRoads
: Stop using roads for the next tasks. The task force will not use roads to advance to any new task added to the task force, after this function is invoked.