package org.toop.framework.gameFramework.model.game.threadBehaviour;

/**
 * Interface for games that support online multiplayer play.
 * <p>
 * Methods are called in response to network events from the server.
 */
public interface SupportsOnlinePlay {

    /** Called when it is this player's turn to make a move. */
    void onYourTurn(long clientId);

    /** Called when a move from another player is received. */
    void onMoveReceived(long move);

    /** Called when the game has finished, with the final result. */
    void gameFinished(String condition);
}
