I am trying to reference two different counter classes from one class but it isn't compiling. I think I used the wrong code.....
Counter2 counter2 = new Counter2(); addObject(counter2, 184, 61); Counter counter = new Counter(); addObject(counter, 51, 23); Crab crab = new Crab(counter ,counter2); addObject(crab, 287, 286);