Package game.scenes

Examples of game.scenes.SplashScene


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());
        }
    }
View Full Code Here

TOP

Related Classes of game.scenes.SplashScene

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.