diff --git a/api/src/main/java/me/tofpu/speedbridge/api/game/GameService.java b/api/src/main/java/me/tofpu/speedbridge/api/game/GameService.java index a5c2f17..5c2d18c 100644 --- a/api/src/main/java/me/tofpu/speedbridge/api/game/GameService.java +++ b/api/src/main/java/me/tofpu/speedbridge/api/game/GameService.java @@ -111,14 +111,23 @@ public interface GameService { Result leave(final Player player); /** - * This method is for checking if the player were playing or not. + * This method is for checking if the player are playing or not. * - * @param player the player instance + * @param player the player you want to check against * * @return true if player is an island, otherwise false */ boolean isPlaying(final Player player); + /** + * This method is for checking if the player are spectating or not. + * + * @param player the player you want to check against + * + * @return true if player is spectating, otherwise false + */ + boolean isSpectating(final Player player); + /** * This method is for adding a brand new timer * to the list and have it start ticking.