Examples of WindowOpenEvent


Examples of org.spout.vanilla.event.window.WindowOpenEvent

  public void open() {
    opened = true;
    switch (VanillaPlugin.getInstance().getEngine().getPlatform()) {
      case PROXY:
      case SERVER:
        getPlayer().getNetwork().callProtocolEvent(new WindowOpenEvent(this), getPlayer());
        reload();
        break;
      case CLIENT:
        ((Client) VanillaPlugin.getInstance().getEngine()).getScreenStack().openScreen(popup);
        break;
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.