From d7551f562d6b316100ea0aee285624b531b5648f Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sun, 10 Jun 2018 18:33:01 +0200 Subject: Improve lobby's style --- backend/src/main/java/org/luxons/sevenwonders/lobby/Lobby.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend') diff --git a/backend/src/main/java/org/luxons/sevenwonders/lobby/Lobby.java b/backend/src/main/java/org/luxons/sevenwonders/lobby/Lobby.java index ae6078e5..1ddde0d7 100644 --- a/backend/src/main/java/org/luxons/sevenwonders/lobby/Lobby.java +++ b/backend/src/main/java/org/luxons/sevenwonders/lobby/Lobby.java @@ -41,6 +41,10 @@ public class Lobby { return name; } + public String getOwner() { + return owner.getUsername(); + } + public List getPlayers() { return players; } -- cgit