Package games.stendhal.client.events

Source Code of games.stendhal.client.events.TransitionGraphEvent

/* $Id: TransitionGraphEvent.java,v 1.2 2010/09/19 02:17:47 nhnb Exp $ */
/***************************************************************************
*                   (C) Copyright 2003-2010 - Stendhal                    *
***************************************************************************
***************************************************************************
*                                                                         *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or     *
*   (at your option) any later version.                                   *
*                                                                         *
***************************************************************************/
package games.stendhal.client.events;

import games.stendhal.client.entity.Entity;
import games.stendhal.client.gui.admin.TransitionDiagram;


/**
* shows the transition diagram of a finite state machine.
*
* @author hendrik
*/
public class TransitionGraphEvent extends Event<Entity> {

  /**
   * executes the event
   */
  @Override
  public void execute() {
    new TransitionDiagram().showTransitionDiagram(event.get("data"));
  }

}
TOP

Related Classes of games.stendhal.client.events.TransitionGraphEvent

TOP
Copyright © 2018 www.massapi.com. 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.