public abstract Handle ( DesignPattern.State4.TrafficLight light ) : void | ||
light | DesignPattern.State4.TrafficLight | |
return | void |
public void Turn() { if (_currentState != null) { _currentState.Handle(this); } }
public abstract Handle ( DesignPattern.State4.TrafficLight light ) : void | ||
light | DesignPattern.State4.TrafficLight | |
return | void |
public void Turn() { if (_currentState != null) { _currentState.Handle(this); } }