Changes
Page history
Add Room
authored
Oct 15, 2020
by
Nicolas Lenz
Show whitespace changes
Inline
Side-by-side
model/program-structure.md
View page @
6718f082
...
...
@@ -16,6 +16,12 @@ The class `State` represents a single state of a game. It is an immutable [data
package bot {
class Bot {
}
class Room {
id: Int
}
Bot "1" -> "0..*" Room : rooms
}
note left
//Placeholder://
...
...
@@ -24,10 +30,9 @@ note left
end note
package game {
Bot
"1"
-
-> "0..*" Game : games
Room
"1" -> "0..*" Game : games
class Game {
id : Int
getState() : State
}
}
...
...
...
...