AbstractEntity.getMP C# (CSharp) Method

getMP() public method

public getMP ( ) : int
return int
	public int getMP(){
		return this.MP;
	}
	public int getFOR(){

Usage Example

Example #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;
	}