2017-11-15 21:53:52 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package Interfaces;
|
|
|
|
|
2017-11-21 07:34:05 +00:00
|
|
|
import Classes.Event;
|
|
|
|
|
2017-11-15 21:53:52 +00:00
|
|
|
/**
|
|
|
|
* @author lucas
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface Observable {
|
|
|
|
|
2017-11-21 07:34:05 +00:00
|
|
|
public void notifyObservers(Event e);
|
2017-11-15 21:53:52 +00:00
|
|
|
public void addObserver(String key , EventObserver o);
|
|
|
|
public void removeObserver(String key);
|
|
|
|
|
|
|
|
}
|