getMAXHP() public method

public getMAXHP ( ) : int
return int
Beispiel #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;
	}