diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2018-06-10 18:33:01 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2018-06-10 18:33:01 +0200 |
commit | d7551f562d6b316100ea0aee285624b531b5648f (patch) | |
tree | 7157c44e7b3e9fca2a2d50d2fe1b52c7019d68a0 /backend/src/main | |
parent | Finish moving components out of /scenes package (diff) | |
download | seven-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.java | 4 |
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; } |