diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-22 16:09:14 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-22 16:09:14 +0200 |
commit | d90cecc758d3c348f3aedf9c6e45a13ba6a0b0c3 (patch) | |
tree | 1b24e7c0fac394ef5cf0d6538b5209b89e91f86e /docs | |
parent | e185fe6bc6cbe9bc1e0694fc5b11650118eeef82 (diff) |
Diffstat (limited to 'docs')
-rw-r--r-- | docs/class-diag.puml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/class-diag.puml b/docs/class-diag.puml index 17e2b59..6de5851 100644 --- a/docs/class-diag.puml +++ b/docs/class-diag.puml @@ -3,11 +3,17 @@ !theme plain skinparam linetype ortho skinparam classAttributeIconSize 0 +' skinparam packageStyle rectangle + +class main as "main()" +hide main circle +hide main members class FileReader { + open(path) + read() + close() + - protocol } class LocalFile @@ -31,6 +37,20 @@ class YellowTileBehavior class Artist +class ArtistDeserializer +class CanvasDeserializer + +package CPR { } +package SDL2 { } + +interface Parser { + + parse(f: FileReader) +} + +class CSVParser +class XMLParser +class TXTParser + FileReader <|-- LocalFile FileReader <|-- HTTPFile Canvas "1" -> "*" Tile @@ -39,6 +59,12 @@ TileBehavior <|-- RedTileBehavior TileBehavior <|-- BlueTileBehavior TileBehavior <|-- YellowTileBehavior +Parser <|-- CSVParser +Parser <|-- TXTParser +Parser <|-- XMLParser + +HTTPFile ..> CPR + TileFactory --> Tile : create |