Examples of shiftXPos()


Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

  public void initRedArrows(SpoutPlayer player) {

    GenericTexture arrowTop = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowredtop2.png");
    arrowTop.setWidth(8).setHeight(8);
    arrowTop.setAnchor(WidgetAnchor.TOP_CENTER);
    arrowTop.shiftXPos(-4).shiftYPos(3);
    ConflictPlugin.arrowTopRed.put(player, arrowTop);

    GenericTexture arrowBot = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowredbot2.png");
    arrowBot.setWidth(8).setHeight(8);
    arrowBot.setAnchor(WidgetAnchor.BOTTOM_CENTER);
View Full Code Here

Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

    ConflictPlugin.arrowTopRed.put(player, arrowTop);

    GenericTexture arrowBot = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowredbot2.png");
    arrowBot.setWidth(8).setHeight(8);
    arrowBot.setAnchor(WidgetAnchor.BOTTOM_CENTER);
    arrowBot.shiftXPos(-180).shiftYPos(-11);
    ConflictPlugin.arrowBotRed.put(player, arrowBot);

    GenericTexture arrowLeft = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowredleft2.png");
    arrowLeft.setWidth(8).setHeight(8);
    arrowLeft.setAnchor(WidgetAnchor.CENTER_LEFT);
View Full Code Here

Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

    ConflictPlugin.arrowBotRed.put(player, arrowBot);

    GenericTexture arrowLeft = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowredleft2.png");
    arrowLeft.setWidth(8).setHeight(8);
    arrowLeft.setAnchor(WidgetAnchor.CENTER_LEFT);
    arrowLeft.shiftXPos(3).shiftYPos(-4);
    ConflictPlugin.arrowLeftRed.put(player, arrowLeft);

    GenericTexture arrowRight = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowredright2.png");
    arrowRight.setWidth(8).setHeight(8);
    arrowRight.setAnchor(WidgetAnchor.CENTER_RIGHT);
View Full Code Here

Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

    ConflictPlugin.arrowLeftRed.put(player, arrowLeft);

    GenericTexture arrowRight = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowredright2.png");
    arrowRight.setWidth(8).setHeight(8);
    arrowRight.setAnchor(WidgetAnchor.CENTER_RIGHT);
    arrowRight.shiftXPos(-11).shiftYPos(-4);
    ConflictPlugin.arrowRightRed.put(player, arrowRight);

    player.getMainScreen().attachWidget(this, arrowTop);
    player.getMainScreen().attachWidget(this, arrowBot);
    player.getMainScreen().attachWidget(this, arrowLeft);
View Full Code Here

Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

  public void initBlueArrows(SpoutPlayer player) {

    GenericTexture arrowTop = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowbluetop2.png");
    arrowTop.setWidth(8).setHeight(8);
    arrowTop.setAnchor(WidgetAnchor.TOP_CENTER);
    arrowTop.shiftXPos(-4).shiftYPos(3);
    ConflictPlugin.arrowTopBlue.put(player, arrowTop);

    GenericTexture arrowBot = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowbluebot2.png");
    arrowBot.setWidth(8).setHeight(8);
    arrowBot.setAnchor(WidgetAnchor.BOTTOM_CENTER);
View Full Code Here

Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

    ConflictPlugin.arrowTopBlue.put(player, arrowTop);

    GenericTexture arrowBot = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowbluebot2.png");
    arrowBot.setWidth(8).setHeight(8);
    arrowBot.setAnchor(WidgetAnchor.BOTTOM_CENTER);
    arrowBot.shiftXPos(+180).shiftYPos(-11);
    ConflictPlugin.arrowBotBlue.put(player, arrowBot);

    GenericTexture arrowLeft = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowblueleft2.png");
    arrowLeft.setWidth(8).setHeight(8);
    arrowLeft.setAnchor(WidgetAnchor.CENTER_LEFT);
View Full Code Here

Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

    ConflictPlugin.arrowBotBlue.put(player, arrowBot);

    GenericTexture arrowLeft = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowblueleft2.png");
    arrowLeft.setWidth(8).setHeight(8);
    arrowLeft.setAnchor(WidgetAnchor.CENTER_LEFT);
    arrowLeft.shiftXPos(3).shiftYPos(-4);
    ConflictPlugin.arrowLeftBlue.put(player, arrowLeft);

    GenericTexture arrowRight = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowblueright2.png");
    arrowRight.setWidth(8).setHeight(8);
    arrowRight.setAnchor(WidgetAnchor.CENTER_RIGHT);
View Full Code Here

Examples of org.getspout.spoutapi.gui.GenericTexture.shiftXPos()

    ConflictPlugin.arrowLeftBlue.put(player, arrowLeft);

    GenericTexture arrowRight = new GenericTexture("http://tossat.de/~mcbukkit/images/arrowblueright2.png");
    arrowRight.setWidth(8).setHeight(8);
    arrowRight.setAnchor(WidgetAnchor.CENTER_RIGHT);
    arrowRight.shiftXPos(-11).shiftYPos(-4);
    ConflictPlugin.arrowRightBlue.put(player, arrowRight);

    player.getMainScreen().attachWidget(this, arrowTop);
    player.getMainScreen().attachWidget(this, arrowBot);
    player.getMainScreen().attachWidget(this, arrowLeft);
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.