summaryrefslogtreecommitdiff
path: root/backend/src/main
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-06-10 18:33:01 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-06-10 18:33:01 +0200
commitd7551f562d6b316100ea0aee285624b531b5648f (patch)
tree7157c44e7b3e9fca2a2d50d2fe1b52c7019d68a0 /backend/src/main
parentFinish moving components out of /scenes package (diff)
downloadseven-wonders-d7551f562d6b316100ea0aee285624b531b5648f.tar.gz
seven-wonders-d7551f562d6b316100ea0aee285624b531b5648f.tar.bz2
seven-wonders-d7551f562d6b316100ea0aee285624b531b5648f.zip
Improve lobby's style
Diffstat (limited to 'backend/src/main')
-rw-r--r--backend/src/main/java/org/luxons/sevenwonders/lobby/Lobby.java4
1 files changed, 4 insertions, 0 deletions
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<Player> getPlayers() {
return players;
}
bgstack15