Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Comparing intersection points of array object list

$
0
0
If you're comparing different classes against each other, you gotta specify its data-type in the method parameter:

 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.

Viewing all articles
Browse latest Browse all 1768

Trending Articles