mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Lager setGameState metode og getWinningPlayerName metode
Co-Authored-By: torlunjen <torlunjen@users.noreply.github.com>
This commit is contained in:
parent
83e0d2ceee
commit
48afdfd9f9
@ -63,4 +63,15 @@ public interface IDrawableGame {
|
|||||||
*/
|
*/
|
||||||
GameState getGameState();
|
GameState getGameState();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the current state og the game
|
||||||
|
*/
|
||||||
|
void setGameState(GameState gameState);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the name of the player who won
|
||||||
|
* @return A string of the player name
|
||||||
|
*/
|
||||||
|
String getWinningPlayerName();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user