public void regenerate(){
		if(alive){
			if(health < maxHealth){
				health+=healthReg;
				if(health > maxHealth) health = maxHealth;
			}
			
			if(mana < maxMana){
				mana+=manaReg;
				if(mana > maxMana) mana= maxMana;
			}
		}
	}