Fixed: RMI Implementation
This commit is contained in:
@@ -1,19 +1,12 @@
|
||||
package it.polimi.ingsw.gc14.View;
|
||||
|
||||
public interface IView {
|
||||
// --- Setup ---
|
||||
void showWelcome();
|
||||
String askPlayerName();
|
||||
import it.polimi.ingsw.gc14.Model.Game;
|
||||
import it.polimi.ingsw.gc14.Network.NetworkEvent;
|
||||
|
||||
// --- Rendering ---
|
||||
void render(GameState state);
|
||||
public interface IView {
|
||||
|
||||
void render(Game model);
|
||||
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