public void ToHappy() { currentState.ResetPathColor(); currentState = new HappyState(self); currentState.Enter(); }
public void Captured(OrientedActor capturer) { currentState.ResetPathColor(); currentState = new CapturedState(self, capturer); }