Package game.scenes

Examples of game.scenes.LevelScene


        space.removeObject(this);
    }

    @Override
    protected void onAfterMove() {
        LevelScene ls = ((LevelScene) getScene());
        ls.viewFollow(dynamic.getPolygon().getMidX(), dynamic.getPolygon().getMidY(), 240, 180);

        HurtHabit h = ls.getSpace().findObject(dynamic.getPolygon(), HurtHabit.class);
        if (h != null) {
            useDust(30);
            state.hurt();
            h.hurt();
        }
View Full Code Here


        addHabit(new ClickHabit(this, bounds));
    }

    @Override
    public void onClick(final ClickHabit click) {
        getStage().insertSceneAbove(new FadeThroughBlackScene(new LevelScene(ImageParser.makeDesertLevel())),
                getScene());
    }
View Full Code Here

TOP

Related Classes of game.scenes.LevelScene

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.