1 /* $Id$ */
2 /***************************************************************************
3  *                   (C) Copyright 2003-2010 - Stendhal                    *
4  ***************************************************************************
5  ***************************************************************************
6  *                                                                         *
7  *   This program is free software; you can redistribute it and/or modify  *
8  *   it under the terms of the GNU General Public License as published by  *
9  *   the Free Software Foundation; either version 2 of the License, or     *
10  *   (at your option) any later version.                                   *
11  *                                                                         *
12  ***************************************************************************/
13 package games.stendhal.client.entity;
14 
15 
16 /**
17  * An entity change listener.
18  *
19  * @param <T> entity type
20  */
21 public interface EntityChangeListener<T extends IEntity> {
22 	/**
23 	 * An entity was changed.
24 	 *
25 	 * @param entity
26 	 *            The entity that was changed.
27 	 * @param property
28 	 *            The property identifier.
29 	 */
entityChanged(T entity, Object property)30 	void entityChanged(T entity, Object property);
31 }
32