getMP() public method

public getMP ( ) : int
return int
Esempio n. 1
0
	void Awake(){
		myState = this.gameObject.GetComponent<AbstractEntity>();
		ai = this.gameObject.GetComponent<BasicAI>();
		set(myState.getMAXHP(),myState.getMAXMP(),myState.getHP(),myState.getMP(),leftX,topY,width,height);
		
		
		// animation
		timeLeftAnimationChange = timeBetweenAnimation;
		animationHealthForward = true;
		animationManaForward = false;
		animationHealthIndex = 0;
		animationManaIndex = 0;
	}