Zone balancing

This commit is contained in:
Anuken
2019-04-28 22:03:26 -04:00
parent 617bdf9910
commit fcc433fe17
4 changed files with 24 additions and 9 deletions
@@ -109,6 +109,7 @@ public class EntityGroup<T extends Entity>{
}
}
@SuppressWarnings("unchecked")
public void intersect(float x, float y, float width, float height, Consumer<? super T> out){
//don't waste time for empty groups
if(isEmpty()) return;