Package org.groovymud.engine.event.action

Examples of org.groovymud.engine.event.action.DestroyEvent


    }

  }

  protected void doDestroyEvent(IScopedEvent arg) {
    DestroyEvent ev = (DestroyEvent) arg;
    MudObject object = (MudObject) ev.getSource();
    if (object instanceof Player) {
      fireLeavingMessage((Player) object);
    }
    if (object instanceof Container) {
      unregisterContents(((Container) object));
View Full Code Here


  boolean methodCalled;

  public void testDoUpdate() {
    final MessageEvent mE = new MessageEvent();
    final MovementEvent moveEvent = new MovementEvent(null, null, null, null);
    final DestroyEvent dE = new DestroyEvent();
    final SaveEvent sE = new SaveEvent();

    Registry reg = new Registry(null) {

      @Override
View Full Code Here

TOP

Related Classes of org.groovymud.engine.event.action.DestroyEvent

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.