clearKeysPressed method
Clears the list of keys returned from keysPressed.
This is used by the testing framework to make sure tests are hermetic.
Implementation
@visibleForTesting
void clearKeysPressed() => _keysPressed.clear();
Clears the list of keys returned from keysPressed.
This is used by the testing framework to make sure tests are hermetic.
@visibleForTesting
void clearKeysPressed() => _keysPressed.clear();