|
|
|
@ -221,7 +221,6 @@ package Model <<Frame>> #bada55 {
|
|
|
|
|
|
|
|
|
|
class Game $done {
|
|
|
|
|
/+Name: string
|
|
|
|
|
/+Dice: [*] Die
|
|
|
|
|
+PerformTurn(player: Player)
|
|
|
|
|
+GetHistory(): [*] Turn
|
|
|
|
|
+GetWhoPlaysNow(): Player
|
|
|
|
@ -231,8 +230,8 @@ package Model <<Frame>> #bada55 {
|
|
|
|
|
class Turn $done {
|
|
|
|
|
+/When: DateTime
|
|
|
|
|
-Ctor()
|
|
|
|
|
{static} +CreateWithSpecifiedTime(DateTime, Player, Dictionary<Die, Face>): Turn
|
|
|
|
|
{static} +CreateWithDefaultTime(Player, Dictionary<Die, Face>): Turn
|
|
|
|
|
{static} +CreateWithDefaultTime(...)
|
|
|
|
|
{static} +CreateWithSpecifiedTime(...)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|