|
|
@ -151,9 +151,10 @@ package Model <<Frame>> #bada55 {
|
|
|
|
|
|
|
|
|
|
|
|
package Games #daf {
|
|
|
|
package Games #daf {
|
|
|
|
|
|
|
|
|
|
|
|
class GameRunner $done {
|
|
|
|
class MasterOfCeremonies $done {
|
|
|
|
/+GlobalPlayerManager: IManager<Player>
|
|
|
|
/+GlobalPlayerManager: IManager<Player>
|
|
|
|
/+GlobalDieManager: IManager<KeyValuePair<string, [*] Die>>
|
|
|
|
/+DiceGroupManager: IManager<KeyValuePair<string, [*] Die>>
|
|
|
|
|
|
|
|
/+GameManager: IManager<Game>
|
|
|
|
{static} +PlayGame(game: Game)
|
|
|
|
{static} +PlayGame(game: Game)
|
|
|
|
+StartNewGame(name: string, players: IManager<Player>, dice: [*] Die): Game
|
|
|
|
+StartNewGame(name: string, players: IManager<Player>, dice: [*] Die): Game
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -164,10 +165,10 @@ package Model <<Frame>> #bada55 {
|
|
|
|
|
|
|
|
|
|
|
|
Stub ..|> ILoader
|
|
|
|
Stub ..|> ILoader
|
|
|
|
|
|
|
|
|
|
|
|
ILoader --> "/+GameRunner" GameRunner
|
|
|
|
ILoader --> "/+MasterOfCeremonies" MasterOfCeremonies
|
|
|
|
|
|
|
|
|
|
|
|
Program --> "/+Loader" ILoader
|
|
|
|
Program --> "/+Loader" ILoader
|
|
|
|
Program --> "/+GameRunner" GameRunner
|
|
|
|
Program --> "/+MasterOfCeremonies" MasterOfCeremonies
|
|
|
|
|
|
|
|
|
|
|
|
DiceAppDbContextWithStub --|> DiceAppDbContext
|
|
|
|
DiceAppDbContextWithStub --|> DiceAppDbContext
|
|
|
|
DiceAppDbContext --|> System.Data.Entity.DbContext
|
|
|
|
DiceAppDbContext --|> System.Data.Entity.DbContext
|
|
|
|