diff options
-rw-r--r-- | docs/class-diag.puml | 9 | ||||
-rw-r--r-- | main.cpp | 3 | ||||
-rw-r--r-- | 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" <<group>> { - artists : forward_list<Artist *> - artist_count : size_t - museum : Museum & - -- - - deleted_artists : forward_list<Artist *> - - cleanup() } class Tile { + data : TileData @@ -310,9 +307,9 @@ rectangle Group_Visualization as "Visualization" <<group>> { } rectangle Group_Commands as "Commands" <<group>> { 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) @@ -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; } @@ -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 + |