1 2 3 4 5 6 7
package o1game.Server import scala.collection.mutable.Buffer class GameCharacter(val name: String, initialItems: Iterable[String]): private val items: Buffer[String] = Buffer.from(items) // TODO: Item class // TODO: A lot of other things too