public string GetName(ACTOR_STATES state)
    {
        if (state == ACTOR_STATES.SPOOKED)
        {
            return(actor_states [1]);
        }
        if (state == ACTOR_STATES.PANICKED)
        {
            return(actor_states [2]);
        }
        if (state == ACTOR_STATES.FAINTED)
        {
            return(actor_states [3]);
        }

        return(actor_states [0]);
    }
Beispiel #2
0
 private void _beginShift(ACTOR_STATES shift)
 {
     startTimer0(30);
     _state = shift;
 }