/** * Checks if the entity belongs to any group. * @param e the entity to check. * @return true if it is in any group, false if none. */ public boolean isInAnyGroup(Entity e) { return getGroups(e).size > 0; }
/** * Checks if the entity belongs to any group. * @param e the entity to check. * @return true if it is in any group, false if none. */ public boolean isInAnyGroup(Entity e) { return getGroups(e).size > 0; }