Package entidades

Examples of entidades.Puerta


                    int tileID = tiledMap.getTileId(x, y, 0);
                    if (tileID == 1) {
                        result.add(new Bloque(x, y, Bloque.PARED, true));
                    }
                    if (tileID == 2) {
                        result.add(new Puerta(x, y, Bloque.PUERTA, true));
                    }
                    if (tiledMap.getLayerProperty(l, "underPlayer", "-1").equals("1") && tiledMap.getTileImage(x, y, l) != null) {
                        result.add(new Bloque(x, y, Bloque.CAPA1, false, tiledMap.getTileImage(x, y, l)));
                    }
                    if (tiledMap.getLayerProperty(l, "underPlayer", "-1").equals("0") && tiledMap.getTileImage(x, y, l) != null) {
View Full Code Here

TOP

Related Classes of entidades.Puerta

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.