reset method

void reset(
  1. Bindings defaults
)

Puts the table back the way it shipped.

The way out of a rebinding that made the game unplayable — which is not a hypothetical, because the fastest way to find that out is to bind movement to a key you then cannot reach.

Implementation

void reset(Bindings defaults) {
  _waiting = null;
  bindings.takeFrom(defaults);
}