BasicPlayer
data class BasicPlayer(val id: UUID = UUID.randomUUID(), val deck: ArrayDeque<CardInstance> = ArrayDeque(), val hand: MutableList<CardInstance> = mutableListOf(), val board: MutableList<CardInstance> = mutableListOf(), val graveyard: MutableList<CardInstance> = mutableListOf(), var health: Int = 10, var mana: Int = 0, var maxMana: Int = 0) : Player
Constructors
Link copied to clipboard
constructor(id: UUID = UUID.randomUUID(), deck: ArrayDeque<CardInstance> = ArrayDeque(), hand: MutableList<CardInstance> = mutableListOf(), board: MutableList<CardInstance> = mutableListOf(), graveyard: MutableList<CardInstance> = mutableListOf(), health: Int = 10, mana: Int = 0, maxMana: Int = 0)