Legger til getGameState i IDrawableGame

This commit is contained in:
Kristian Knarvik 2020-04-14 12:42:32 +02:00
parent 1b04ed462c
commit 5ea2219ae9

View File

@ -1,5 +1,7 @@
package inf112.fiasko.roborally.objects; package inf112.fiasko.roborally.objects;
import inf112.fiasko.roborally.element_properties.GameState;
import java.util.List; import java.util.List;
/** /**
@ -55,4 +57,10 @@ public interface IDrawableGame {
*/ */
List<Robot> getRobotsToDraw(); List<Robot> getRobotsToDraw();
/**
* Gets the current state og the game
* @return The state the game is currently in
*/
GameState getGameState();
} }