public final class KeyboardShortcutsActor extends DefaultActor {
@Override
public void onBeforeMove(final Keyboard keyboard, final Mouse mouse, final Clock clock) {
if (keyboard.wasReleased(Key.VK_C)) {
getStage().insertSceneAbove(new SplashScene("Credits"), getScene());
} else if (keyboard.wasReleased(Key.VK_H)) {
getStage().insertSceneAbove(new SplashScene("Help"), getScene());
} else if (keyboard.wasReleased(Key.VK_O)) {
getStage().insertSceneAbove(new FadeThroughBlackScene(new OptionsScene()), getScene());
}
}