public void update(){
		if((dungeon.getPlayer().getX() + 16) / 32 == x / 32 && (dungeon.getPlayer().getY() + 16) / 32 == y / 32){
			dungeon.addParticle(new TextParticle(dungeon.getParticles().size(), x, y, "+" + amount, 0xffE0A341, 2, 0.4, dungeon, random));
			dungeon.getPlayer().addGold(amount);
			removed = true;
		}
	}