Examples of viewFollow()


Examples of game.scenes.LevelScene.viewFollow()

    }

    @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();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.