private void UpdateState(MutantBodyStates state)
 {
     switch (state)
     {
     case MutantBodyStates.Idle:
         this.ParentCharacter.CurrentAnimState = new MutantAnimStateIdle(this);
         break;
     }
 }
Esempio n. 2
0
	private void UpdateState(MutantBodyStates state)
	{
		switch(state)
		{
		case MutantBodyStates.Idle:
			this.ParentCharacter.CurrentAnimState = new MutantAnimStateIdle(this);
			break;
		}

	}
Esempio n. 3
0
 private void UpdateState(MutantBodyStates state)
 {
     switch (state)
     {
     case MutantBodyStates.Move:
         //Debug.Log("switching to move mutant state");
         this.ParentCharacter.CurrentAnimState = new MutantAnimStateMove(this);
         break;
     }
 }