Node

io.github.pidoveproject.showdown.protocol.server.tournament.BracketNode.Node
final case class Node(children: List[BracketNode], state: BattleState, team: Option[String], result: Option[BattleResult], score: Option[List[Int]], room: Option[RoomId])

A battle node of the tree.

Value parameters

children

the children of this node

result

the result of the battle represented by this node

room

the battle room if the battle is in progress

score

the scores of the battle if it ended

state

the current state of the battle represented by this node

team

the looser of the node if the battle ended

Attributes

Source
BracketNode.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product