@Override
	public void entityAttributeChanged(Entity entity, EntityAttribute attribute, double newValue) {
		switch(attribute){
		case MAX_HEALTH:
			maxHealth = (int) Math.round(newValue);
			break;
			
		case ARMOR:
			armor = newValue;
			break;	
		
		case DAMAGE:
			damageMultiplier = newValue;
			break;
			
		case MAX_MANA:
			maxMana = (int) Math.round(newValue);
			break;
			
		case MOVEMENT_SPEED:
			movementSpeed = (int) Math.round(newValue);
			break;
			
		default:
				
		}
	}