Package org.moparscape.msc.gs.event

Examples of org.moparscape.msc.gs.event.WalkToObjectEvent


  // f2p
  private void handleDoor(final Player player, final ActiveTile tile,
      final GameObject object, final int dir, final InvItem item) {
    player.setStatus(Action.USING_INVITEM_ON_DOOR);
    Instance.getDelayedEventHandler().add(
        new WalkToObjectEvent(player, object, false) {
          public void arrived() {
            owner.resetPath();
            if (owner.isBusy()
                || owner.isRanging()
                || !owner.getInventory().contains(item.id)
View Full Code Here


  private void handleObject(final Player player, final ActiveTile tile,
      final GameObject object, final InvItem item) {
    player.setStatus(Action.USING_INVITEM_ON_OBJECT);
    Instance.getDelayedEventHandler().add(
        new WalkToObjectEvent(player, object, false) {
          public void arrived() {
            owner.resetPath();
            if (owner.isBusy()
                || owner.isRanging()
                || !owner.getInventory().contains(item.id)
View Full Code Here

TOP

Related Classes of org.moparscape.msc.gs.event.WalkToObjectEvent

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.