Package componentes

Examples of componentes.Nivel


     */
    public Pasillo(final int id, final GameContainer container) {
        super(id, container);
        //Creamos el mapa y generamos el nivel
        TiledMap tiledMap = ResourceManager.getMap("pasilloTiled");
        nivel = new Nivel(tiledMap);

        //Asignamos el tamaño al mundo
        setWidth(ANCHO_MAPA * TAMANO_CASILLA);
        setHeight(ALTO_MAPA * TAMANO_CASILLA);
    }
View Full Code Here


     */
    public Aula(final int id, final GameContainer container) {
        super(id, container);
        //Creamos el mapa y generamos el nivel
        final TiledMap tiledMap = ResourceManager.getMap("claseTiled");
        nivel = new Nivel(tiledMap);

        //Generamos las animaciones que hemos definido en el Tiled Map.
        nivel.findAnimations();
        animations = nivel.getAnimations();

View Full Code Here

TOP

Related Classes of componentes.Nivel

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.