aboutsummaryrefslogtreecommitdiff
path: root/docs/class-diag.puml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/class-diag.puml')
-rw-r--r--docs/class-diag.puml11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/class-diag.puml b/docs/class-diag.puml
index 9ce43eb..f695ed3 100644
--- a/docs/class-diag.puml
+++ b/docs/class-diag.puml
@@ -111,7 +111,7 @@ rectangle Group_Collisions as "Collisions" <<group>> {
--
- museum : Museum &
}
- class CollisionChecker <<abstract>> {
+ abstract class CollisionChecker {
+ CollisionChecker(Museum &)
+ check() <<pure virtual>>
--
@@ -169,7 +169,7 @@ rectangle Group_Pathfinding as "Pathfinding" <<group>> {
--
- museum : Museum &
}
- class Pathfinder <<abstract>> {
+ abstract class Pathfinder {
+ Pathfinder(Museum &)
+ find_between(const XY &, const XY &) <<pure virtual>
--
@@ -260,6 +260,9 @@ rectangle Group_Model as "Model" <<group>> {
- artist_count : size_t
- museum : Museum &
}
+ interface Memento {
+ }
+ People -r[hidden] Canvas
}
together {
class Tile {
@@ -383,6 +386,10 @@ rectangle Group_Model as "Model" <<group>> {
Tile --> "state" TileBehavior
Tile .[norank].> TileBehaviorFactory
+ Memento <|.[norank]. TileData
+ Memento <|.[norank]. ArtistData
+ Memento <|.[norank]. CanvasData
+
' LAYOUT
Artist -r[hidden] Tile
}