isAnyNull method
@return true if any locations are NULL
Implementation
bool isAnyNull() {
for (int i = 0; i < location.length; i++) {
if (location[i] == Location.NONE) return true;
}
return false;
}
@return true if any locations are NULL
bool isAnyNull() {
for (int i = 0; i < location.length; i++) {
if (location[i] == Location.NONE) return true;
}
return false;
}