engine
/
endconditions
/
Outcome
Outcome
sealed class
Outcome
Content copied to clipboard
Represents an outcome of the game
Types
Functions
Properties
Inheritors
Types
Draw
Link copied to clipboard
data class
Draw
(message:
String
) :
Outcome
Content copied to clipboard
Represents a draw
Win
Link copied to clipboard
data class
Win
(winner:
Player
, message:
String
) :
Outcome
Content copied to clipboard
Represents a win
Functions
equals
Link copied to clipboard
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
open fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
open fun
toString
():
String
Content copied to clipboard
Properties
message
Link copied to clipboard
open val
message
:
String
Content copied to clipboard
the message to show the users
Inheritors
Outcome
Link copied to clipboard
Outcome
Link copied to clipboard