This commit is contained in:
rubenpirreram
2026-04-19 17:02:34 +02:00
parent 31796aabdb
commit d86d926306
16 changed files with 175 additions and 10 deletions
@@ -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();
}