Battle

io.github.pidoveproject.showdown.protocol.server.RoomMessage.Battle
final case class Battle(room: RoomId, firstUser: User, secondUser: User)

A battle started.

Value parameters

firstUser

the first battle participant

room

the id of the battle room

secondUser

the second battle participant

Attributes

Source
RoomMessage.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product