Esempio n. 1
0
 public void ChangeLostState(int a)
 {
     switch (a)
     {
     case 0: currentLostState = LostBehavior.stationary; break;
     case 1: currentLostState = LostBehavior.seekout; break;
     case 2: currentLostState = LostBehavior.roam; break;
     default: currentLostState = LostBehavior.stationary; break;
     }
 }
Esempio n. 2
0
    public void ChangeLostState(int a)
    {
        switch (a)
        {
        case 0: currentLostState = LostBehavior.stationary; break;

        case 1: currentLostState = LostBehavior.seekout; break;

        case 2: currentLostState = LostBehavior.roam; break;

        default: currentLostState = LostBehavior.stationary; break;
        }
    }