From 5060c66738898913ca880d83b0fdcd5be2e0b59d Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sun, 17 Nov 2024 14:19:58 +0200 Subject: Small style fixes (mostly shortening comment lines written by others...) --- src/scalevalapokalypsi/Server/Server.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/scalevalapokalypsi/Server/Server.scala') diff --git a/src/scalevalapokalypsi/Server/Server.scala b/src/scalevalapokalypsi/Server/Server.scala index 13ca2f5..f18d5c0 100644 --- a/src/scalevalapokalypsi/Server/Server.scala +++ b/src/scalevalapokalypsi/Server/Server.scala @@ -3,15 +3,15 @@ package scalevalapokalypsi.Server // TODO: TLS/SSL / import javax.net.ssl.SSLServerSocketFactory -import java.lang.Thread.{currentThread, sleep} -import java.io.IOException -import java.net.{ServerSocket, Socket} +import scalevalapokalypsi.Model.Adventure +import scalevalapokalypsi.Model.Entities.Player import scalevalapokalypsi.constants.* -import scalevalapokalypsi.Model.{Adventure,Entity,Player} import scalevalapokalypsi.utils.stringToByteArray +import java.io.IOException import java.lang.System.currentTimeMillis -import scala.util.Try +import java.lang.Thread.sleep +import java.net.{ServerSocket, Socket} /** `Server` exists to initialize a server for the game -- cgit v1.2.3