If you're comparing different classes against each other, you gotta specify its data-type in the method parameter:
So, instead of CellOne other, change it to the type of the class you wanna compare CellOne to.
You should post your current attempts since most has been changed for sure.
void drawLine(CellOne other) { line(location.x, location.y, other.location.x, other.location.y); }
So, instead of CellOne other, change it to the type of the class you wanna compare CellOne to.
You should post your current attempts since most has been changed for sure.