Beispiel #1
0
 public AutomatImpl(int n)
 {
     Count                = n;
     WaitingState         = new WaitingState(this);
     ApplicationState     = new GotApplicationState(this);
     ApartmentRentedState = new ApartmentRentedState(this);
     FullyRentedState     = new FullyRentedState(this);
     State                = WaitingState;
 }