Package game.layers

Examples of game.layers.ForegroundLayer


    @Override
    public void onAdd() {
        addLayer(new BackgroundLayer(level.getChunks()));
        DynamicLayer d = addLayer(new DynamicLayer());
        addLayer(new ForegroundLayer(level.getChunks()));
        addLayer(new BlocksLayer(level.getBlocks())).setVisible(false);

        for (Actor a : actors) {
            if (a.getName().equals("player")) {
                d.addActor(new PlayerActor(new Vector(Double.valueOf(a.getArgs()[0]), Double.valueOf(a.getArgs()[1]))));
View Full Code Here

TOP

Related Classes of game.layers.ForegroundLayer

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.