Is your feature request related to a problem? Please describe.
Currently, the Lift has a "Queue", which isn't very smart.
Example:
I've got a Lift with 3 floors.
Person 1 on floor 1 calls it, enters it and selects floor 3.
But then person 2 on floor 2 calls the lift.
→ Now the Elevator firstly lifts itself up to floor 3 and then again down to floor 2, which isn't very effective.
Describe the solution you'd like
Example:
I've got a Lift with 3 floors.
Person 1 on floor 1 calls it, enters it and selects floor 3.
But then person 2 on floor 2 calls the lift.
Lift goes to floor 2, picks person 2 up. Person 2 now selects floor 1.
Now the Lift should go to floor 3, because floor 3 was picked prior to floor 1.
Describe alternatives you've considered
Not implementing it, because its too much.
Additional context
Would be very smart, for skyscrapers with 20+ floors.
Is your feature request related to a problem? Please describe. Currently, the Lift has a "Queue", which isn't very smart. Example: I've got a Lift with 3 floors. Person 1 on floor 1 calls it, enters it and selects floor 3. But then person 2 on floor 2 calls the lift. → Now the Elevator firstly lifts itself up to floor 3 and then again down to floor 2, which isn't very effective.
Describe the solution you'd like Example: I've got a Lift with 3 floors. Person 1 on floor 1 calls it, enters it and selects floor 3. But then person 2 on floor 2 calls the lift. Lift goes to floor 2, picks person 2 up. Person 2 now selects floor 1. Now the Lift should go to floor 3, because floor 3 was picked prior to floor 1.
Describe alternatives you've considered Not implementing it, because its too much.
Additional context Would be very smart, for skyscrapers with 20+ floors.