Package com.badlogic.gdx

Examples of com.badlogic.gdx.Screen


    public static final int GAME_VIEWPORT_WIDTH = 1920, GAME_VIEWPORT_HEIGHT = 1080;

    @Override
    public void create() {
        setScreen(new Screen() {

            private final Stage stage = new Stage(new StretchViewport(GAME_VIEWPORT_WIDTH, GAME_VIEWPORT_HEIGHT));
            private final BitmapFont bitmapFont = new BitmapFont();
            private final Label fps = new Label("", new Label.LabelStyle(bitmapFont, Color.WHITE));
            private final Road road = new Road();
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.Screen

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.