Ejemplo n.º 1
0
 public void ToHappy()
 {
     currentState.ResetPathColor();
     currentState = new HappyState(self);
     currentState.Enter();
 }
Ejemplo n.º 2
0
        public void Captured(OrientedActor capturer)
        {
            currentState.ResetPathColor();

            currentState = new CapturedState(self, capturer);
        }