public void action(){
		
		Player player = World.current.getPlayers().get(0);
		
		switch(type){
		case GoldCoin:
			player.coins += actionFactor;
			player.inventory.inventory.remove(this);
			break;
		case HealthUp:
			player.addHealth(actionFactor);
			player.inventory.inventory.remove(this);
			break;
		case MeleeWeapon:
			player.currentWeapon = this;
			player.inventory.inventory.remove(this);
			
			break;
		}
	}