From def8975617e5c6da431e41cc889d167b0f2e2bb0 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Thu, 7 Nov 2024 21:41:53 +0200 Subject: Added possibility to join in the middle of the game & fixed bugs and inaccuracies: * Adding the player didn't add it to the starting area. Fixed. * Refactored some code a bit by extracting functions * Changed the areas of `Adventure` to be private --- src/main/scala/Server/Character.scala | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 src/main/scala/Server/Character.scala (limited to 'src/main/scala/Server/Character.scala') diff --git a/src/main/scala/Server/Character.scala b/src/main/scala/Server/Character.scala deleted file mode 100644 index 174b7b0..0000000 --- a/src/main/scala/Server/Character.scala +++ /dev/null @@ -1,7 +0,0 @@ -package o1game.Server - -import scala.collection.mutable.Buffer - -class GameCharacter(val name: String): - private val items: Buffer[String] = Buffer.empty // TODO: Item class - // TODO: A lot of other things too -- cgit v1.2.3