Package org.spout.vanilla.event.window

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

Related Classes of org.spout.vanilla.event.window.WindowOpenEvent

Copyright © 2018 www.massapicom. 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.