@xrT said:
@beltorak said:
Incedentally, what happens when you select a floor then de-select it? Does the elevator simply come to a stop? Does it continue to the original floor then stop? Does it go to the original floor then open the doors? If the latter, what is the direction indicator when the doors open?
<font face="Tahoma">Either I'm just way too bored or I'm really curious, but I tried this out and the elevator stopped on the nearest* floor and opened the door...
* - By nearest I mean the next floor that is yet to be passed after it started to move up/down
</font>
I had almost added that as a suggesstion too -- all possibilities make sense in one scenario or another. That is a facinating state machine; from this we can assume that if the elevator transitions from a travelling state (up or down) to the null state, it must first open the doors (at the nearest convenient floor) to ensure that it reaches the null state.... perhaps; this could either be a side effect of trying to maintain consistent state, or could even be a designed feature! Think about it, if you got in the elevator accidentally, then realized your mistake, you could simply hit the lit button and get off on the next floor, thereby saving you the inconvenience of completing the trip which you had decided to abort! lol;
I'm going to be thinking about that one for a while....
and yes, i think about these kinds of things way too much.
I am still curious -- can you 'de-select' the up or down buttons on the outside? If so, what happens to the elevator?