Examples of toTileValue()


Examples of org.moparscape.msc.gs.model.landscape.MutableTileValue.toTileValue()

        } else if (dir == 4) {
          t.objectValue &= 0xfff7;
          MutableTileValue t1 = new MutableTileValue(getTileValue(
              x + 1, y));
          t1.objectValue &= 65535 - 2;
          setTileValue(x + 1, y, t1.toTileValue());
        } else if (dir == 6) {
          t.objectValue &= 0xfffe;
          MutableTileValue t1 = new MutableTileValue(getTileValue(x,
              y - 1));
          t1.objectValue &= 65535 - 4;
View Full Code Here

Examples of org.moparscape.msc.gs.model.landscape.MutableTileValue.toTileValue()

        } else if (dir == 6) {
          t.objectValue &= 0xfffe;
          MutableTileValue t1 = new MutableTileValue(getTileValue(x,
              y - 1));
          t1.objectValue &= 65535 - 4;
          setTileValue(x, y - 1, t1.toTileValue());
        }
        setTileValue(x, y, t.toTileValue());
      }
    }
  }
View Full Code Here

Examples of org.moparscape.msc.gs.model.landscape.MutableTileValue.toTileValue()

                .getDoorType() != 0) {
          t.mapValue |= 1; // 1
          MutableTileValue t1 = new MutableTileValue(
              world.getTileValue(bx, by - 1));
          t1.mapValue |= 4; // 4
          world.setTileValue(bx, by - 1, t1.toTileValue());
        }

        int horizontalWall = s.getTile(x, y).horizontalWall & 0xFF;
        if (horizontalWall > 0
            && EntityHandler.getDoorDef(horizontalWall - 1)
View Full Code Here

Examples of org.moparscape.msc.gs.model.landscape.MutableTileValue.toTileValue()

                .getDoorType() != 0) {
          t.mapValue |= 2; // 2
          MutableTileValue t1 = new MutableTileValue(
              world.getTileValue(bx - 1, by));
          t1.mapValue |= 8;
          world.setTileValue(bx - 1, by, t1.toTileValue());
        }

        int diagonalWalls = s.getTile(x, y).diagonalWalls;
        if (diagonalWalls > 0
            && diagonalWalls < 12000
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.