Package games.stendhal.server.events

Examples of games.stendhal.server.events.ViewChangeEvent


    if (targetPlayer == null) {
      player.sendPrivateText(NotificationType.ERROR, "Player not online");
      return;
    }

    targetPlayer.addEvent(new ViewChangeEvent(Integer.parseInt(x), Integer.parseInt(y)));
  }
View Full Code Here


    }
    if (user instanceof Player) {
      Player player = (Player) user;
      if (player.hasQuest(QUEST)) {
        if (player.drop("money", COST)) {
          player.addEvent(new ViewChangeEvent(x, y));
          return true;
        } else {
          player.sendPrivateText("You do not have enough money.");
        }
      } else {
View Full Code Here

TOP

Related Classes of games.stendhal.server.events.ViewChangeEvent

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.