public ApartmentRentedState(AutomatInterface a) { automat = a; }
public FullyRentedState(AutomatInterface a) { automat = a; }
public WaitingState(AutomatInterface a) { automat = a; }
public GotApplicationState(AutomatInterface a) { automat = a; random = new Random(DateTime.Now.Millisecond); }