protected StateBase(Ridesharing ridesharing) { this.ridesharing = ridesharing; transitionCount = 0; }
public static void Initialize(Ridesharing ridesharing) { ridesharing.RidesharingState = new States.UnknownState(ridesharing); ridesharing.RidesharingState.Initialize(); }