diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-16 15:45:15 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-16 15:45:15 +0200 |
commit | e185fe6bc6cbe9bc1e0694fc5b11650118eeef82 (patch) | |
tree | 2059eaa2c2c8269f1c7d5649e8ab02171e530e7c | |
parent | 8a8039f61888a51e2508a15c5af7ab3afa5756ab (diff) |
more class diag
-rw-r--r-- | docs/class-diag.puml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/class-diag.puml b/docs/class-diag.puml index 7db3bd3..17e2b59 100644 --- a/docs/class-diag.puml +++ b/docs/class-diag.puml @@ -4,5 +4,44 @@ skinparam linetype ortho skinparam classAttributeIconSize 0 +class FileReader { + + open(path) + + read() + + close() +} + +class LocalFile +class HTTPFile + +class Canvas { + + get_tile(x, y) + + set_tile(x, y) +} + +class Tile + +class TileFactory + +class TileBehavior + +class GrayTileBehavior +class RedTileBehavior +class BlueTileBehavior +class YellowTileBehavior + +class Artist + +FileReader <|-- LocalFile +FileReader <|-- HTTPFile +Canvas "1" -> "*" Tile +TileBehavior <|-- GrayTileBehavior +TileBehavior <|-- RedTileBehavior +TileBehavior <|-- BlueTileBehavior +TileBehavior <|-- YellowTileBehavior + +TileFactory --> Tile : create + + @enduml + |