Updated 'Game' class. #32

Merged
j23f0712 merged 3 commits from development into dev/test 2024-12-02 01:55:02 +01:00
Showing only changes of commit efb4439431 - Show all commits

View File

@@ -316,6 +316,15 @@ public void setActiveColor(Color activeColor) {
this.activeColor = activeColor;
}
/**
* This method will be used to set die attribute of Game class to the given die parameter.
*
* @param die as the new value of die as a Die object.
*/
public void setDie(Die die) {
this.die = die;
}
/**
* This method will be used to set host attribute of Game class to the given host parameter.
*