diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2024-11-07 21:41:53 +0200 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2024-11-07 21:41:53 +0200 |
commit | def8975617e5c6da431e41cc889d167b0f2e2bb0 (patch) | |
tree | f538102c17d81b596834fad7f47528fe2fc04b19 /src/main/scala/Server/Character.scala | |
parent | 891b6f877ba848a3f78851a757734ebd1f066798 (diff) | |
download | scalevalapokalypsi-def8975617e5c6da431e41cc889d167b0f2e2bb0.tar.gz scalevalapokalypsi-def8975617e5c6da431e41cc889d167b0f2e2bb0.zip |
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
Diffstat (limited to 'src/main/scala/Server/Character.scala')
-rw-r--r-- | src/main/scala/Server/Character.scala | 7 |
1 files changed, 0 insertions, 7 deletions
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 |