public void die(){
		alive = false;
		respawnX = x;
		respawnY = y;
		respawnColX = colOffsetX;
		respawnColY = colOffsetY;
		respawnWidth = width;
		respawnHeight = height;
		respawnTexture = texture;
		if(loot.size() > 0){
			setBounds(x + colOffsetX + width/2 - 16, y + colOffsetY + height/2 - 16,32,32);
			setCollisionBox(6, 0, 20, 32);
			setTexture("res/items/bag.png");
		}else{
			visible = false;
			solid = false;
		}
		
		respawnTimer = Game.SECONDS + respawnTime;
		
		Game.PLAYER.addExp(exp);
	}