deployed = true;
return true;
    private void deploy(Entity entity, Coords pos, Coords towards) {        boolean deployed = false;        if (game.board.contains(pos) && game.getEntity(pos) == null) {            placeEntity(entity, pos, pos.direction(towards));            deployed = true;        }        // if pos is filled, try some different positions        for (int i = 0; i < 6; i++) {            Coords deployPos = pos.translated(i);            if (!deployed && game.board.contains(deployPos) && game.getEntity(deployPos) == null) {                placeEntity(entity, deployPos, deployPos.direction(towards));                deployed = true;            }        }    }