public class GameResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
date |
int |
moves |
User |
player1 |
User |
player2 |
User |
winner |
Constructor and Description |
---|
GameResult(User p1,
User p2,
User win,
java.lang.String date,
int moves)
Constructor
Initialize the internal variables
|