More unit assembler progress

This commit is contained in:
Anuken
2021-12-14 09:40:57 -05:00
parent bdc3b85346
commit b5ce9e1a38
9 changed files with 53 additions and 19 deletions

View File

@@ -135,6 +135,10 @@ public class Units{
return anyEntities(tile, true);
}
public static boolean anyEntities(float x, float y, float size){
return anyEntities(x - size/2f, y - size/2f, size, size, true);
}
public static boolean anyEntities(float x, float y, float width, float height){
return anyEntities(x, y, width, height, true);
}