Package games.stendhal.server.entity
Class Registrator
java.lang.Object
java.util.Observable
games.stendhal.server.util.Observable
games.stendhal.server.entity.Registrator
Wrapper for java Observable object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
removeObserver(Observer observer)
remove observer from observers list.void
setObserver(Observer observer)
registers observer for notifyingMethods inherited from class games.stendhal.server.util.Observable
addObserver, deleteObserver, notifyObservers, setChanges
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged
-
Constructor Details
-
Registrator
public Registrator()
-
-
Method Details
-
setObserver
registers observer for notifying- Parameters:
observer
- - observer to add
-
removeObserver
remove observer from observers list.- Parameters:
observer
- - observer to remove.
-