|
@ -4,6 +4,7 @@ import de.fd.fh.server.user.UserId; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
|
|
|
|
|
import java.util.HashSet; |
|
|
import java.util.HashSet; |
|
|
|
|
|
import java.util.List; |
|
|
import java.util.Set; |
|
|
import java.util.Set; |
|
|
|
|
|
|
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
@ -101,4 +102,9 @@ public class GameService |
|
|
} |
|
|
} |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public List<Game> findRunningGamesOfUser(final UserId userId) |
|
|
|
|
|
{ |
|
|
|
|
|
return repository.findRunningGamesOfPlayer(userId); |
|
|
|
|
|
} |
|
|
} |
|
|
} |