Package it.freedomotic.gwtclient.client.utils

Examples of it.freedomotic.gwtclient.client.utils.DrawableRoom


            objectsIndex.clear();
            ImageUtils.queueImage(Freedomotic.RESOURCES_URL + environment.getBackgroundImage());
            // create all drawingrooms
            for (Zone r : environment.getZones()) {
                if (r.isRoom()) {
                    DrawableRoom dr = new DrawableRoom(r);
                    drawingRooms.add(dr);
                    //GWT.log("index: "+((Integer)dr.getIndexColor()).toString());
                    objectsIndex.put(dr.getIndexColor(), dr);
                    // TODO: Take care of the objects not in room
                    for (EnvObject obj : r.getObjects()) {
                        GWT.log("object in a room " + obj.getName());
                        DrawableObject dobj = new DrawableObject(obj);
                        drawingObjects.add(dobj);
View Full Code Here


        for (Zone z : env.getZones()) {
            if (z.getName().equals(id)) {
                GWT.log("Found!");
                // draw zone
                dr = new DrawableRoom(z);
                //    GWT.log("index: "+((Integer)dr.getIndexColor()).toString());
                //objectsIndex.put(dr.getIndexColor(), dr);

                // TODO: Take care of the objects not in room
                for (EnvObject obj : z.getObjects()) {
View Full Code Here

        ImageUtils.queueImage("v1/environment/resources/"+environment.getBackgroundImage());
        // create all drawingrooms
        for (Zone r : environment.getZones()) {         
          if( r.isRoom())
          {           
            DrawableRoom dr = new DrawableRoom(r)
            drawingRooms.add(dr);           
            //GWT.log("index: "+((Integer)dr.getIndexColor()).toString());
            objectsIndex.put(dr.getIndexColor(), dr);
            // TODO: Take care of the objects not in room
            for (EnvObject obj : r.getObjects()) {
              GWT.log("object in a room "+obj.getName());
              DrawableObject dobj =new DrawableObject(obj);
              drawingObjects.add(dobj);
View Full Code Here

TOP

Related Classes of it.freedomotic.gwtclient.client.utils.DrawableRoom

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.