added the 'Die' class to the 'Game' class

This commit is contained in:
Daniel Grigencha
2024-12-01 19:46:59 +01:00
parent ff31335a98
commit 17f0aa0209

View File

@@ -214,6 +214,15 @@ public Board getBoard() {
return board; return board;
} }
/**
* This method will be used to return die attribute of Game class.
*
* @return die as a Die object.
*/
public Die getDie() {
return this.die;
}
/** /**
* This method returns the active color. * This method returns the active color.
* *