Package org.newdawn.slick.tiled

Examples of org.newdawn.slick.tiled.TiledMapPlus


     * @param name Le nom de la map (lien vers le fichier)
     * @throws SlickException
     */
    public Map(String name) throws SlickException {
        blocs = new ArrayList<>();
        map = new TiledMapPlus(name);
        pnj = map.getObjectGroup("PNJ");
        for (GroupObject e : pnj.getObjects()) {
            System.out.println(e.name + " (" + e.type + ") X : " + e.x + "Y :" + e.y);
            System.out.println("Index : " + e.index + " GID : " + e.gid + " Height : " + e.height + " Width : " + e.width);
            if (e.props != null) {
View Full Code Here

TOP

Related Classes of org.newdawn.slick.tiled.TiledMapPlus

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.