Package org.moparscape.msc.gs.event

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


            || fighting.getAffectedMob().equals(this)) {
          fighting.stop();
          break;
        }
      } else if (event instanceof DuelEvent) {
        DuelEvent dueling = (DuelEvent) event;
        if (dueling.getOwner().equals(this)
            || dueling.getAffectedPlayer().equals(this)) {
          dueling.stop();
          break;
        }
      }
    }
    setBusy(false);
View Full Code Here


                      opponent = affectedPlayer;
                    } else {
                      attacker = affectedPlayer;
                      opponent = owner;
                    }
                    DuelEvent dueling = new DuelEvent(
                        attacker, opponent);
                    dueling.setLastRun(0);
                    Instance.getDelayedEventHandler().add(
                        dueling);
                  }
                });
          }
View Full Code Here

TOP

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

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.