Examples of moveDown()


Examples of powercrystals.core.position.BlockPosition.moveDown()

  {
    BlockPosition bp = new BlockPosition(x, y, z, ForgeDirection.VALID_DIRECTIONS[side]);
    boolean[] sides = new boolean[8];
    bp.moveRight(1);
    sides[0] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
    bp.moveDown(1);
    sides[4] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
    bp.moveLeft(1);
    sides[1] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
    bp.moveLeft(1);
    sides[5] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
View Full Code Here

Examples of powercrystals.core.position.BlockPosition.moveDown()

    else
    {
      bp = new BlockPosition(x, y, z, ForgeDirection.VALID_DIRECTIONS[side]);
      bp.moveRight(1);
      sides[0] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
      bp.moveDown(1);
      sides[4] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
      bp.moveLeft(1);
      sides[1] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
      bp.moveLeft(1);
      sides[5] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
View Full Code Here

Examples of ptolemy.kernel.util.NamedObj.moveDown()

                for (int i = targets.size() - 1; i >= 0; i--) {
                    NamedObj target = (NamedObj) targetIterator.previous();

                    if (type == DOWN) {
                        priorIndexes[i] = target.moveDown();
                    } else if (type == TO_FIRST) {
                        priorIndexes[i] = target.moveToFirst();
                    } else if (type == TO_LAST) {
                        priorIndexes[i] = target.moveToLast();
                    } else {
View Full Code Here

Examples of ptolemy.kernel.util.NamedObj.moveDown()

                for (int i = 0; i < targets.size(); i++) {
                    NamedObj target;
                    target = (NamedObj) targetIterator.next();

                    if (type == DOWN) {
                        priorIndexes[i] = target.moveDown();
                    } else if (type == TO_FIRST) {
                        priorIndexes[i] = target.moveToFirst();
                    } else if (type == TO_LAST) {
                        priorIndexes[i] = target.moveToLast();
                    } else {
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.