From 0f2f5fb61c48559be285a2747f05103504ed0fb7 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 17 Oct 2024 13:48:26 +0200 Subject: add some notes --- docs/class-diag.puml | 9 +++------ main.cpp | 3 ++- readme.md | 6 ++++++ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/class-diag.puml b/docs/class-diag.puml index e0f10c1..8495b16 100644 --- a/docs/class-diag.puml +++ b/docs/class-diag.puml @@ -141,9 +141,6 @@ rectangle Group_Model as "Model" <> { - artists : forward_list - artist_count : size_t - museum : Museum & - -- - - deleted_artists : forward_list - - cleanup() } class Tile { + data : TileData @@ -310,9 +307,9 @@ rectangle Group_Visualization as "Visualization" <> { } rectangle Group_Commands as "Commands" <> { class Command { - # museum : Museum& - # view : View& - # controller : ViewController& + # museum : Museum * <<+get&>> <<-set>> + # view : View * <<+get&>> <<-set>> + # controller : ViewController * <<+get&>> <<-set>> -- + Command(command : const Command *) + Command(museum, view, controller) diff --git a/main.cpp b/main.cpp index 94cccfe..9cc8ee8 100644 --- a/main.cpp +++ b/main.cpp @@ -20,7 +20,8 @@ int main(int argc, char** argv) { // Museum and View both create their own worker threads, so the main thread // should remain to keep the view active. - while (view.open); + while (view.open) + ; return EXIT_SUCCESS; } diff --git a/readme.md b/readme.md index 282a42e..96500ec 100644 --- a/readme.md +++ b/readme.md @@ -10,6 +10,12 @@ ALGA: - artist-path collision behavior (toggleable) - pathfinding start/end selection w/ mouse buttons (left for start, right for end) - show {shortest,fastest,no} path toggle +- vast meer TODO: +- command pattern is fout +- low-binding factories naar high-binding factories +- prototype met geen factory maar map ofzo fixen +- txt file parser + -- cgit v1.2.3