-
Notifications
You must be signed in to change notification settings - Fork 0
Logic: appState Decision Tree
Vincent Cardillo edited this page Jan 18, 2016
·
6 revisions
OD open?
- Yes: Give normal map,no_service_wall
- No:
- Out of zone?
- Yes: map,no_service_wall
- No: HasServices?
- Yes: HasOAService?
- Yes: Build
- No: Use OD state
- No: closed_wall
- Yes: HasOAService?
- Out of zone?
Return strings:
- map,no_service_wall: Nothing is available. Execute the existing map <-> bummer wall logic.
- closed_wall{n}: No OA available, and we are closed. Show current closed wall.
{n}
can represent an integer. So you will need test if the string contains "closed_wall" instead of testing for absolute equality. - soldout_wall: No OA available, and we are sold out. Show current sold_out wall.
- build: Open to order something! Show the order flow.