Example #1
0
    public void ChangeState()
    {
        int curState = (int)currentState;

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