Fixed: RMI Implementation

This commit is contained in:
rubenpirreram
2026-04-19 19:51:00 +02:00
parent 5899ca324f
commit 6195ac0586
10 changed files with 164 additions and 35 deletions
@@ -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();
}