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