summaryrefslogtreecommitdiff
path: root/debian/source
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 17:09:15 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 23:15:21 +0100
commit041f3e63118837acaa2316139dd9ca6c796a79e6 (patch)
tree28d26369b838bdc40306319565198ccd0ebdb33e /debian/source
parente6b9b68a6539d74bec94c0a361187ed89ec5c124 (diff)
Refactor GameManager and add control over game creation
GameManager had a method called join_game ; which was not actually doing any joining. Instead, it was just returning a reference to the game that would match the specified game name and language. In case the game would not exist, it would be created before being returned. The function is now renamed find_by_name. Also a new parameter "create" has been added. It is a boolean that controls whether a game would be created if it does not exist. Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'debian/source')
0 files changed, 0 insertions, 0 deletions