public boolean entityFree(int x, int y) {//Free for entities (meaning no blockable entities or tiles currently here)
        int key = genKey(x, y);
        boolean tileFree = false;
        if (tileHashMap.containsKey(key)) {
            tileFree = tileHashMap.get(key).isPassable();
        }
        boolean entFree = true;
        if (entities.containsKey(key)) {
            ArrayList<Entity> ents = entities.get(key);
            for (int c = 0; c < ents.size(); c++) {
                Entity ent = ents.get(c);
                if (!ent.isPassable() || ent.hasFlag(EntityFlag.CAN_BLOCK)) {
                    entFree = false;
                }
            }
        }
        return entFree && tileFree;

    }