public void ChangeState() { int curState = (int)currentState; curState = (curState + 1) % (int)Globals.worshipperStates.COUNT; currentState = (Globals.worshipperStates)curState; }
public void Initialize(float _currentDegree, float _distanceFromCenter,Globals.worshipperStates startState) { distanceFromCenter = _distanceFromCenter; currentDegree = _currentDegree; currentState = startState; }
public void Initialize(float _currentDegree, float _distanceFromCenter, Globals.worshipperStates startState) { distanceFromCenter = _distanceFromCenter; currentDegree = _currentDegree; currentState = startState; }