So this doesn't happen
public boolean onMouseDown(float x, float y) {
if (fControlVisible) {
fControlActive = false;
for (Control c : fControls) {
fControlActive = c.onMouseDown(x, y);
if (fControlActive) {
fSelected = true;
return true;
}
}
}
// for (Path p : fAxons)
// if (p.onMouseDown(x, y))
// return true;
// for (Path p : fDendrites)
// if (p.onMouseDown(x, y))
// return true;
return super.onMouseDown(x, y);
}
Won't paste the code here but the main controller / object collection is a mess
So this doesn't happen
Won't paste the code here but the main controller / object collection is a mess