By gadgets we mean devices that incorporate buttons, switches, levers and the like, but also other odd gadgetry of the game author's devising. In the present chapter we shall explore some of the library classes that can be used in gadgets, and then go on to construct a couple of gadgets (or gadget-like puzzles) out of other elements.
What (for want of a better general term) we might call the library's 'gadget' classes include:
Button
Lever
SpringLever
OnOffControl
Switch
Settable
Dial
LabeledDial
NumberedDial