All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.pidoveproject.showdown.protocol.server.tournament.BattleResult.scala Maven / Gradle / Ivy

The newest version!
package io.github.pidoveproject.showdown.protocol.server.tournament

import io.github.pidoveproject.showdown.protocol.MessageDecoder
import zio.json.JsonDecoder

/**
 * The result of a pokemon battle
 */
enum BattleResult derives JsonDecoder, MessageDecoder:
  case Win()
  case Loss()
  case Draw()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy