Report as inappropriate.
Along with the Shop (extends my Dialog class) is a ShopWorld class (extends World) which serves a dual purpose. It double checks input which helps in coding and it appropriately sizes the Dialog window. Resetting the scenario will cause the list of items to be randomly selected.
NOTE: There is an 80% buy-back price in effect. This value can be easily set before creating a Shop object.
WORKING THE DIALOG:
'enter' works like a tab key to move the selector from item to item.
Arrows (left/right) will transfer one of the selected items in or out of the cart.
Clicking on an item will select it (moves selector there).
Clicking on in-stock or cart quantities will transfer one of that item to or from the cart regardless of the selectors position.
'p' and 'c' are accelerator keys for the two buttons.
299 views / 1 in the last 7 days
Want to leave a comment? You must first log in.
No votes yet.