@Override
    public boolean usedBy(Entity e) {
        if (times > 0) {
            if (e instanceof Player) {
                Player p = (Player) e;
                if (p.hp() < p.maxhp()) {
                    p.heal(healpower);
                    p.addStatus("You were fully by the healpad");
                    times--;
                    if (times == 0) {
                        setImage(ResourceManager.getImage("trap"));
                    }
                    return true;
                }
            }
        }
        return false;
    }