remove some logging
parent
ecc9a7a99f
commit
493c81f779
|
|
@ -125,16 +125,12 @@ public class SelectionLayer extends GameObject implements IMouseCaptureArea, ITr
|
||||||
thingBox.x, thingBox.y,
|
thingBox.x, thingBox.y,
|
||||||
thingBox.z, thingBox.w
|
thingBox.z, thingBox.w
|
||||||
)) {
|
)) {
|
||||||
System.out.println("Considering selecting " + thing);
|
|
||||||
int thingPrio = thing.getSelectPriority().toValue();
|
int thingPrio = thing.getSelectPriority().toValue();
|
||||||
if(thingPrio > prio) {
|
if(thingPrio > prio) {
|
||||||
newSelection.clear();
|
newSelection.clear();
|
||||||
prio = thingPrio;
|
prio = thingPrio;
|
||||||
System.out.println("updated prio to " + prio);
|
|
||||||
System.out.println("List cleared");
|
|
||||||
}
|
}
|
||||||
if(thingPrio >= prio) {
|
if(thingPrio >= prio) {
|
||||||
System.out.println("added " + thing);
|
|
||||||
newSelection.add(thing);
|
newSelection.add(thing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue