initial commit
This commit is contained in:
18
src/cards/maumau/model/IObserver.java
Normal file
18
src/cards/maumau/model/IObserver.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package cards.maumau.model;
|
||||
|
||||
/**
|
||||
* Interface for observing changes in the Mau-Mau game.
|
||||
*/
|
||||
public interface IObserver {
|
||||
/**
|
||||
* Method called to notify the observer of a general update in the game.
|
||||
*/
|
||||
void update();
|
||||
|
||||
/**
|
||||
* Method called to send a message to the observer.
|
||||
*
|
||||
* @param msg The message to be sent.
|
||||
*/
|
||||
void message(String msg);
|
||||
}
|
||||
Reference in New Issue
Block a user