Add: RMI
This commit is contained in:
@@ -1,4 +1,21 @@
|
||||
package it.polimi.ingsw.gc14.View;
|
||||
|
||||
import it.polimi.ingsw.gc14.Network.TCP.NetworkEvent;
|
||||
|
||||
public interface IView {
|
||||
// --- Setup ---
|
||||
void showWelcome();
|
||||
String askPlayerName();
|
||||
|
||||
// --- Rendering ---
|
||||
void render(GameState state);
|
||||
void showMessage(String message);
|
||||
void showError(String message);
|
||||
void showWinner(String winner);
|
||||
|
||||
// --- Input giocatore ---
|
||||
NetworkEvent askMove(GameState state);
|
||||
|
||||
// --- Lifecycle ---
|
||||
void close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user