mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-02-08 19:19:35 +01:00
27 lines
599 B
Java
27 lines
599 B
Java
|
package inf112.fiasko.roborally.objects;
|
||
|
|
||
|
import inf112.fiasko.roborally.elementproperties.GameState;
|
||
|
|
||
|
/**
|
||
|
* This interface describes
|
||
|
*/
|
||
|
public interface IInteractableGame {
|
||
|
/**
|
||
|
* Gets the current state og the game
|
||
|
* @return The state the game is currently in
|
||
|
*/
|
||
|
GameState getGameState();
|
||
|
|
||
|
/**
|
||
|
* Sets the state of the game
|
||
|
* @param gameState The new state of the game
|
||
|
*/
|
||
|
void setGameState(GameState gameState);
|
||
|
|
||
|
/**
|
||
|
* Gets the name of the player who won
|
||
|
* @return A string of the player name
|
||
|
*/
|
||
|
String getWinningPlayerName();
|
||
|
}
|