Package net.sf.fysix.leveleditor.tool.level.subtool.draw

Examples of net.sf.fysix.leveleditor.tool.level.subtool.draw.ShapeMapObject.moveShape()


        for (IMapObject mo : Collections.unmodifiableCollection(mapobjs)){
          if(mo instanceof ShapeMapObject){
            ShapeMapObject refSMO = (ShapeMapObject)mo;
            if(refSMO.isSelected()){
              ShapeMapObject copySMO = refSMO.copy();
              copySMO.moveShape(diff, pos);
              //refSMO.setPosition();   
              copyLst.add(copySMO);
              if(dragInitiated==true){
                copySMO.setSelected(true);
                refSMO.setSelected(false);
View Full Code Here


      } else {
        for (IMapObject mo : Collections.unmodifiableCollection(mapobjs)){
          if(mo instanceof ShapeMapObject){
            ShapeMapObject refSMO = (ShapeMapObject)mo;
            if(refSMO.isSelected()){
              refSMO.moveShape(diff, pos);
              //refSMO.setPosition();
            }
          }
          if(mo instanceof SelectMapObject){
            SelectMapObject refSMO = (SelectMapObject)mo;
View Full Code Here

            for (IMapObject mo : Collections.unmodifiableCollection(mapobjs)){
              if(mo instanceof ShapeMapObject){
                ShapeMapObject refSMO = (ShapeMapObject)mo;
                if(refSMO.isSelected()){
                  ShapeMapObject copySMO = refSMO.copy();
                  copySMO.moveShape(diff, pos);
                  //refSMO.setPosition();   
                  copyLst.add(copySMO);
                  if(dragInitiated==true){
                    copySMO.setSelected(true);
                    refSMO.setSelected(false);
View Full Code Here

          case MODE_MOVE:
        for (IMapObject mo : Collections.unmodifiableCollection(mapobjs)){
          if(mo instanceof ShapeMapObject){
            ShapeMapObject refSMO = (ShapeMapObject)mo;
            if(refSMO.isSelected()){
              refSMO.moveShape(diff, pos);
              //refSMO.setPosition();
            }
          }
          if(mo instanceof SelectMapObject){
            SelectMapObject refSMO = (SelectMapObject)mo;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.