4 modified_by 96 "daniele"
9 default_attribute_visibility protected default_relation_visibility protected default_operation_visibility public
10 //class diagram settings
11 draw_all_relations yes hide_attributes no hide_operations no show_members_full_definition no show_members_visibility no show_members_stereotype no show_parameter_dir yes show_parameter_name yes package_name_in_tab no class_drawing_mode natural drawing_language uml show_context_mode no auto_label_position yes show_infonote no shadow yes
12 //use case diagram settings
13 package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
14 //sequence diagram settings
15 show_full_operations_definition no write_horizontally yes class_drawing_mode natural drawing_language uml draw_all_relations yes shadow yes
16 //collaboration diagram settings
17 show_full_operations_definition no show_hierarchical_rank no write_horizontally yes drawing_language uml package_name_in_tab no show_context no draw_all_relations yes shadow yes
18 //object diagram settings
19 write_horizontally yes package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
20 //component diagram settings
21 package_name_in_tab no show_context no auto_label_position yes draw_all_relations yes shadow yes
22 draw_component_as_icon no show_component_req_prov no show_component_rea no
23 //deployment diagram settings
24 package_name_in_tab no show_context no write_horizontally yes auto_label_position yes draw_all_relations yes shadow yes
25 draw_component_as_icon no show_component_req_prov no show_component_rea no
26 //state diagram settings
27 package_name_in_tab no show_context no auto_label_position yes write_trans_label_horizontally yes show_trans_definition no draw_all_relations yes shadow yes
28 show_activities yes region_horizontally yes drawing_language uml
29 //activity diagram settings
30 package_name_in_tab no show_context no show_opaque_action_definition no auto_label_position yes write_flow_label_horizontally no draw_all_relations yes shadow yes
31 show_infonote yes drawing_language uml
33 class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activityaction_color transparent parameterpin_color white
39 classview 128021 "ArchitetturaGlobale"
40 //class diagram settings
41 draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition yes show_members_visibility yes show_members_stereotype yes show_parameter_dir no show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
42 //collaboration diagram settings
43 show_full_operations_definition default show_hierarchical_rank default write_horizontally default drawing_language default package_name_in_tab default show_context default draw_all_relations default shadow default
44 //object diagram settings
45 write_horizontally default package_name_in_tab default show_context default auto_label_position default draw_all_relations default shadow default
46 //sequence diagram settings
47 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
48 //state diagram settings
49 package_name_in_tab default show_context default auto_label_position default write_trans_label_horizontally default show_trans_definition default draw_all_relations default shadow default
50 show_activities default region_horizontally default drawing_language default
52 //activity diagram settings
53 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations default shadow default
54 show_infonote default drawing_language default
55 classdiagram 128021 "Global"
56 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
60 classdiagram 128393 "GUIDiagram"
61 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
65 classdiagram 128099 "3DDiagram"
66 draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
70 classdiagram 128521 "CoreDiagram"
71 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
75 classdiagram 128149 "PlayerDiagram"
76 draw_all_relations no hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
80 classdiagram 128003 "AIDiagram"
81 draw_all_relations yes hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
85 classdiagram 128122 "NetworkDiagram"
86 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
90 classdiagram 129301 "SettingsHierarchy"
91 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
95 classdiagram 129429 "GameLoopView"
96 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
100 classdiagram 129557 "MiscCoreView"
101 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
105 classdiagram 129685 "ReducedGUIView"
106 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
110 classdiagram 128087 "AI_NetworkView"
111 draw_all_relations default hide_attributes default hide_operations default show_members_full_definition default show_members_visibility default show_members_stereotype default show_parameter_dir default show_parameter_name default package_name_in_tab default class_drawing_mode default drawing_language default show_context_mode default auto_label_position default show_infonote default shadow default
115 class 128019 "QMainWindow"
121 explicit_switch_type ""
125 class 128533 "QWidget"
131 explicit_switch_type ""
135 class 128917 "MainWindow"
141 explicit_switch_type ""
143 classrelation 128019 // <generalisation>
144 relation 128019 ---|>
146 classrelation_ref 128019 // <generalisation>
147 b parent class_ref 128019 // QMainWindow
150 attribute 129301 "_loop"
151 private type class_ref 130325 // GameLoop
158 attribute 129173 "_net"
159 private type class_ref 130069 // Network
166 attribute 129429 "_settings"
167 private type class_ref 130453 // SettingsManager
174 attribute 128040 "_playersInfo"
175 private explicit_type "QList<PlayerInfo>"
176 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
183 attribute 128637 "_suggester"
184 private type class_ref 129720 // Suggester
185 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
192 attribute 128149 "_render"
193 private type class_ref 128661 // RenderWidget
200 attribute 128277 "_chat"
201 private type class_ref 128789 // ChatWidget
208 attribute 129976 "_history"
209 private type class_ref 129848 // HistoryModel
210 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
217 attribute 129848 "_timer"
218 private type class_ref 128381 // TimerWidget
219 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
226 attribute 128381 "_playersWidget"
227 private type class_ref 129021 // PlayersWidget
228 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
235 attribute 128188 "_historyView"
236 private type class_ref 128893 // QTableView
237 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
244 operation 128175 "loadGame"
245 public explicit_return_type "bool"
247 param in name "fileName" type class_ref 128440 // QString
248 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
250 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
258 operation 128047 "saveGame"
259 public explicit_return_type "bool"
261 param in name "fileName" type class_ref 128440 // QString
262 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
264 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
272 classrelation 128917 // <directional composition>
274 a role_name "" multiplicity "0..1" protected
275 classrelation_ref 128917 // <directional composition>
276 b parent class_ref 128789 // ChatWidget
279 classrelation 129045 // <directional composition>
281 a role_name "" multiplicity "0..1" protected
282 classrelation_ref 129045 // <directional composition>
283 b parent class_ref 128661 // RenderWidget
286 classrelation 128440 // <directional composition>
288 a role_name "" multiplicity "0..1" protected
289 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
291 classrelation_ref 128440 // <directional composition>
292 b parent class_ref 130069 // Network
295 classrelation 128568 // <directional composition>
297 a role_name "" protected
298 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
300 classrelation_ref 128568 // <directional composition>
301 b parent class_ref 129941 // AI
304 classrelation 128264 // <directional composition>
306 a role_name "" protected
307 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
309 classrelation_ref 128264 // <directional composition>
310 b parent class_ref 130453 // SettingsManager
313 classrelation 128262 // <directional composition>
315 a role_name "" protected
316 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
318 classrelation_ref 128262 // <directional composition>
319 b parent class_ref 130325 // GameLoop
322 operation 128392 "turn"
324 public explicit_return_type "void"
326 param in name "playerId" explicit_type "int"
327 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
329 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
337 operation 128361 "drawMove"
339 public explicit_return_type "void"
341 param in name "move" type class_ref 129301 // Move
342 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
344 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
350 comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
353 operation 128060 "undoMoves"
355 public explicit_return_type "void"
357 param in name "index" explicit_type "QModelIndex"
358 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
360 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
366 comment "disattiva la possibilità da parte dell'utente di eseguire mosse
367 resetta su render e game matrix le caselle indicate nella lista index+1..n
368 invoca setLastRound(index-2...index) su game matrix
369 setta su GameLoop il turno con setTurn(index+1.id())
370 toglie gli elementi index+1..n dalla history
371 invoca notifyMove(Point_null)
375 operation 128700 "showPastGameStatus"
377 public explicit_return_type "void"
379 param in name "index" explicit_type "QModelIndex"
380 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
382 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
388 comment "vedi pesablock, è il gestore dell'evento history::clicked"
391 classrelation 130744 // <directional composition>
393 a role_name "" protected
394 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
396 classrelation_ref 130744 // <directional composition>
397 b parent class_ref 129848 // HistoryModel
400 classrelation 129533 // <directional composition>
402 a role_name "" multiplicity "0..1" protected
403 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
405 classrelation_ref 129533 // <directional composition>
406 b parent class_ref 129720 // Suggester
409 classrelation 128316 // <directional composition>
411 a role_name "" multiplicity "0..1" protected
412 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
414 classrelation_ref 128316 // <directional composition>
415 b parent class_ref 128381 // TimerWidget
418 classrelation 128572 // <directional composition>
420 a role_name "" protected
421 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
423 classrelation_ref 128572 // <directional composition>
424 b parent class_ref 129021 // PlayersWidget
427 classrelation 128700 // <directional composition>
429 a role_name "" protected
430 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
432 classrelation_ref 128700 // <directional composition>
433 b parent class_ref 128893 // QTableView
436 classrelation 128054 // <unidirectional association>
438 a role_name "" multiplicity "0..3" private
439 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
441 classrelation_ref 128054 // <unidirectional association>
442 b parent class_ref 129976 // PlayerInfo
445 operation 129206 "newStandAloneGame"
447 public explicit_return_type "void"
449 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
451 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
459 operation 128020 "playerWin"
461 public explicit_return_type "void"
463 param in name "playerId" explicit_type "int"
464 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
466 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
474 operation 128276 "playersDraw"
476 public explicit_return_type "void"
478 param in name "playersIds" explicit_type "QList<int>"
479 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
481 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
489 operation 130360 "forceMove"
491 protected explicit_return_type "void"
493 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
495 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
504 class 128661 "RenderWidget"
506 cpp_decl "${comment}${template}class ${name}${inherit} {
513 explicit_switch_type ""
515 associated_diagram classdiagram_ref 128021 // Global
516 classrelation 128277 // <generalisation>
517 relation 128277 ---|>
519 classrelation_ref 128277 // <generalisation>
520 b parent class_ref 128533 // QWidget
523 attribute 128060 "DefaultCubeColor"
524 class_attribute const_attribute public type class_ref 128253 // QColor
525 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
532 attribute 129226 "DefaultShape"
533 class_attribute public explicit_type "bool"
534 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
539 comment "indica la forma che avranno le caselle..0 se cubi, 1 se sfere"
542 attribute 128107 "_renderArea"
543 private type class_ref 128099 // CubeRenderArea
544 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
551 operation 128105 "RenderWidget"
552 public explicit_return_type ""
554 param in name "dim" explicit_type "int"
555 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
557 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
565 operation 129385 "acceptMove"
566 public explicit_return_type "void"
568 param in name "value" explicit_type "bool"
569 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
571 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
579 operation 128824 "drawMove"
580 public explicit_return_type "bool"
582 param in name "point" type class_ref 129173 // Point
583 param in name "color" type class_ref 128253 // QColor
584 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
586 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
592 comment "true se la mossa è valida altrimenti false
593 chiama il metodo statico di GameMatrix per sapere se la mossa è valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
596 operation 128828 "uncheckedDraw"
597 public explicit_return_type "void"
599 param in name "pointList" explicit_type "QList<Point>"
600 param in name "colorList" explicit_type "QList<QColor>"
602 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
604 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
610 comment "se colorList==0 allora usa defaultCubeColor"
613 operation 128099 "setAntiAliasing"
614 public explicit_return_type "void"
616 param in name "value" explicit_type "int"
617 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
619 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
625 comment "controlla l'accumulation buffer e setta l'antialiasing"
628 operation 131000 "highlightSuggested"
630 public explicit_return_type "void"
632 param in name "point" type class_ref 129173 // Point
633 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
635 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
641 comment "chiama la selectCube di CubeRenderArea"
644 classrelation 128099 // <directional composition>
646 a role_name "" multiplicity "0..1" protected
647 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
649 classrelation_ref 128099 // <directional composition>
650 b parent class_ref 128099 // CubeRenderArea
654 class 128789 "ChatWidget"
660 explicit_switch_type ""
662 operation 128235 "displayText"
664 public explicit_return_type "void"
666 param in name "text" type class_ref 128440 // QString
667 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
669 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
677 operation 128107 "textEntered"
679 protected explicit_return_type "void"
681 param in name "text" type class_ref 128440 // QString
682 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
684 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
692 classrelation 128122 // <generalisation>
693 relation 128122 ---|>
695 cpp default "${type}"
696 classrelation_ref 128122 // <generalisation>
697 b parent class_ref 128533 // QWidget
701 class 129045 "Player"
702 abstract visibility package
707 explicit_switch_type ""
709 operation 128617 "Player"
710 public explicit_return_type ""
712 param in name "id" explicit_type "int"
713 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
715 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
723 attribute 128168 "_id"
724 const_attribute private explicit_type "int"
725 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
732 operation 128040 "id"
733 const public explicit_return_type "int"
735 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
737 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
745 operation 128184 "move"
746 public return_type class_ref 129301 // Move
748 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
755 operation 129155 "doMove"
756 abstract cpp_virtual protected return_type class_ref 129173 // Point
758 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
772 explicit_switch_type ""
774 attribute 128184 "_x"
775 private explicit_type "int"
776 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
783 attribute 128312 "_y"
784 private explicit_type "int"
785 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
792 attribute 128440 "_z"
793 private explicit_type "int"
794 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
801 operation 128875 "Point"
802 public explicit_return_type ""
804 param in name "x" explicit_type "int"
805 param in name "y" explicit_type "int"
806 param in name "z" explicit_type "int"
807 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
809 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
817 operation 128378 "isValid"
818 const public explicit_return_type "bool"
820 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
822 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
828 comment "return true sse il Point this è minore della dimensione di GameMatrix."
831 operation 129282 "isNull"
832 public explicit_return_type "bool"
834 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
836 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
842 comment "return true iff this == (-1, -1, -1)
853 explicit_switch_type ""
855 classrelation 129173 // <directional composition>
857 a role_name "" protected
858 classrelation_ref 129173 // <directional composition>
859 b parent class_ref 129173 // Point
862 attribute 128405 "_playerId"
863 private explicit_type "int"
870 attribute 128533 "_coord"
871 private type class_ref 129173 // Point
878 operation 129641 "Move"
879 public explicit_return_type ""
881 param in name "id" explicit_type "int"
882 param in name "p" type class_ref 129173 // Point
883 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
885 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
893 operation 128250 "isValid"
894 const public explicit_return_type "bool"
896 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
898 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
904 comment "return GameMatrix::check(this._coord);"
908 class 129557 "GameMatrix"
914 explicit_switch_type ""
916 comment "istanziata da MainWindow e passata poi a GameLoop"
917 attribute 128042 "EmptyPoint"
918 class_attribute const_attribute public explicit_type "int"
920 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
927 attribute 128084 "_instance"
928 class_attribute private type class_ref 129557 // GameMatrix
929 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
936 attribute 128873 "_lastRound"
937 private explicit_type "QList<Point>"
938 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
943 comment "/buffer delle ultime mosse da rivedere"
946 attribute 129129 "_d1"
947 private explicit_type "int"
948 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
955 attribute 129257 "_d2"
956 private explicit_type "int"
957 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
964 attribute 128148 "_freeCounter"
965 private explicit_type "int"
966 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
973 operation 130104 "GameMatrix"
974 private explicit_return_type ""
976 param in name "d1" explicit_type "int"
977 param in name "d2" explicit_type "int"
978 param in name "numPlayers" explicit_type "int"
979 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
981 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
989 operation 129166 "create"
990 class_operation public explicit_return_type "GameMatrix*"
992 param in name "d1" explicit_type "int"
993 param in name "d2" explicit_type "int"
994 param in name "numPlayers" explicit_type "int"
995 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
997 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1005 operation 129294 "destroy"
1006 class_operation public explicit_return_type "void"
1008 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1010 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1018 operation 129620 "instance"
1019 class_operation public explicit_return_type "GameMatrix*"
1021 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1023 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1031 operation 129513 "add"
1032 public explicit_return_type "bool"
1034 param in name "move" type class_ref 129301 // Move
1035 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1037 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1043 comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1046 operation 128554 "clear"
1047 public explicit_return_type "void"
1049 param in name "point" type class_ref 129173 // Point
1050 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1052 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1060 operation 129748 "check"
1061 class_operation public explicit_return_type "bool"
1063 param in name "point" type class_ref 129173 // Point
1064 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1066 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1074 operation 130952 "elementAt"
1075 public explicit_return_type "int"
1077 param in name "point" type class_ref 129173 // Point
1078 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1080 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1088 operation 131080 "elementAt"
1089 public explicit_return_type "int"
1091 param in name "x" explicit_type "int"
1092 param in name "y" explicit_type "int"
1093 param in name "z" explicit_type "int"
1094 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1096 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1104 operation 128404 "isFull"
1105 const public explicit_return_type "bool"
1107 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1109 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1117 operation 130232 "numberOfPlayers"
1118 public explicit_return_type "int"
1120 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1122 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1128 comment "lastRound.size()"
1131 operation 128188 "setLastRound"
1132 public explicit_return_type "void"
1134 param in name "round" explicit_type "QList<Point>"
1135 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1137 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1145 attribute 128083 "_matrix"
1146 private explicit_type "int*"
1147 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1154 operation 128011 "extractCC"
1155 private explicit_return_type "void"
1157 param in name "p" type class_ref 129173 // Point
1158 param in name "id" explicit_type "int"
1159 param inout name "set" explicit_type "QSet<Point>"
1160 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1162 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1171 class 129813 "QWaitCondition"
1177 explicit_switch_type ""
1179 operation 130025 "wait"
1180 public explicit_return_type "bool"
1182 param in name "lock" type class_ref 130837 // QMutex
1183 param in name "timeout" explicit_type "unsigned long"
1184 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1186 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1194 operation 130153 "wakeOne"
1195 public explicit_return_type "void"
1197 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1199 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1209 abstract visibility package
1214 explicit_switch_type ""
1216 attribute 128296 "_playerId"
1217 const_attribute private explicit_type "int"
1218 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1225 operation 128084 "AI"
1226 public explicit_return_type ""
1228 param in name "id" explicit_type "int"
1235 operation 128078 "~AI"
1236 cpp_virtual public explicit_return_type ""
1238 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1240 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1248 operation 128212 "move"
1249 abstract cpp_virtual public return_type class_ref 129173 // Point
1251 param in name "level" explicit_type "int"
1258 operation 129976 "forceMove"
1259 abstract cpp_virtual public explicit_return_type "void"
1261 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1268 operation 130819 "movesUndone"
1269 abstract cpp_virtual public explicit_return_type "void"
1271 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1278 operation 130691 "playerId"
1279 public explicit_return_type "int"
1281 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1283 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1292 class 130069 "Network"
1293 abstract visibility package
1298 explicit_switch_type ""
1300 operation 129980 "Network"
1301 public explicit_return_type ""
1303 param in name "gui" type class_ref 128533 // QWidget
1304 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1306 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1314 operation 129395 "~Network"
1315 cpp_virtual public explicit_return_type ""
1317 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1319 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1327 operation 128122 "requestMove"
1328 abstract cpp_virtual public return_type class_ref 129173 // Point
1330 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1337 attribute 129340 "_gui"
1338 private type class_ref 128533 // QWidget
1339 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1346 operation 129168 "setupChat"
1347 abstract cpp_virtual public explicit_return_type "void"
1349 param in name "widget" type class_ref 128789 // ChatWidget
1350 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1358 class 130197 "QThread"
1359 abstract visibility package
1364 explicit_switch_type ""
1366 operation 128319 "start"
1367 public explicit_return_type "void"
1369 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1371 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1379 operation 128393 "run"
1380 abstract cpp_virtual protected explicit_return_type "void"
1382 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1390 class 130325 "GameLoop"
1396 explicit_switch_type ""
1398 comment "quando attende una mossa da RemotePlayer o HumanPlayer va in wait, quando invece tocca ad AIPlayer deve essere questo Thread che esegue il calcolo. NON deve andare in wait."
1399 classrelation 130069 // <realization>
1400 relation 130069 -_-|>
1402 classrelation_ref 130069 // <realization>
1403 b parent class_ref 130197 // QThread
1406 attribute 129592 "_currentPlayer"
1407 private type class_ref 129045 // Player
1408 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1413 comment "mantenuto consistente per poter effettuare la forceMove()"
1416 attribute 128264 "_players"
1417 private explicit_type "QList<Player>"
1418 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1425 attribute 128020 "_winStatus"
1426 private explicit_type "QList<bool>"
1427 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1432 comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1435 operation 128054 "GameLoop"
1436 public explicit_return_type ""
1438 param in name "players" explicit_type "QList<Player>"
1439 cpp_decl " ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1441 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1449 operation 128520 "run"
1450 protected explicit_return_type "void"
1452 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1454 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1462 operation 128316 "setTurn"
1463 public explicit_return_type "void"
1465 param in name "id" explicit_type "int"
1466 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1468 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1476 operation 130488 "forceMove"
1478 public explicit_return_type "void"
1480 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1482 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1490 operation 128233 "moved"
1492 protected explicit_return_type "void"
1494 param in name "move" type class_ref 129301 // Move
1495 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1497 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1505 operation 128264 "turn"
1507 protected explicit_return_type "void"
1509 param in name "playerId" explicit_type "int"
1510 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1517 operation 128148 "win"
1519 protected explicit_return_type "void"
1521 param in name "playerId" explicit_type "int"
1522 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1524 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1532 operation 128532 "draw"
1534 protected explicit_return_type "void"
1536 param in name "playersIds" explicit_type "QList<int>"
1537 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1539 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1547 classrelation 128042 // <directional composition>
1548 relation 128042 *-->
1549 a role_name "" multiplicity "2..3" protected
1550 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1552 classrelation_ref 128042 // <directional composition>
1553 b parent class_ref 129045 // Player
1556 classrelation 129980 // <unidirectional association>
1557 relation 129980 --->
1558 a role_name "" protected
1559 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1561 classrelation_ref 129980 // <unidirectional association>
1562 b parent class_ref 129557 // GameMatrix
1566 class 130709 "SyncSharedCondition"
1572 explicit_switch_type ""
1574 attribute 128063 "_instance"
1575 class_attribute private type class_ref 130709 // SyncSharedCondition
1576 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1583 attribute 128105 "_point"
1584 private type class_ref 129173 // Point
1585 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1592 attribute 129557 "_waitCond"
1593 private type class_ref 129813 // QWaitCondition
1600 operation 128191 "SyncSharedCondition"
1601 private explicit_return_type ""
1603 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
1605 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1613 operation 128063 "instance"
1614 class_operation public return_type class_ref 130709 // SyncSharedCondition
1616 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1618 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1626 operation 129129 "waitForMove"
1627 public return_type class_ref 129173 // Point
1629 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1631 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1639 operation 129257 "notifyMove"
1640 public explicit_return_type "void"
1642 param in name "p" type class_ref 129173 // Point
1643 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1645 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1653 classrelation 128105 // <generalisation>
1654 relation 128105 ---|>
1656 cpp default "${type}"
1657 classrelation_ref 128105 // <generalisation>
1658 b parent class_ref 130837 // QMutex
1661 classrelation 128168 // <directional composition>
1662 relation 128168 *-->
1663 a role_name "" protected
1664 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1666 classrelation_ref 128168 // <directional composition>
1667 b parent class_ref 129813 // QWaitCondition
1671 class 130837 "QMutex"
1677 explicit_switch_type ""
1679 operation 129769 "lock"
1680 public explicit_return_type "void"
1682 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1684 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1692 operation 129897 "unlock"
1693 public explicit_return_type "void"
1695 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1697 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1706 class 128056 "HumanPlayer"
1708 cpp_decl "${comment}${template}class ${name}${inherit} {
1715 explicit_switch_type ""
1717 operation 128745 "HumanPlayer"
1718 public explicit_return_type ""
1720 param in name "id" explicit_type "int"
1721 param in name "render" type class_ref 128661 // RenderWidget
1722 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1724 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1732 operation 129283 "doMove"
1733 cpp_virtual protected return_type class_ref 129173 // Point
1735 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1737 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1745 attribute 128233 "_render"
1746 private type class_ref 128661 // RenderWidget
1747 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1754 classrelation 128361 // <realization>
1755 relation 128361 -_-|>
1757 cpp default "${type}"
1758 classrelation_ref 128361 // <realization>
1759 b parent class_ref 129045 // Player
1763 class 128184 "RemotePlayer"
1765 cpp_decl "${comment}${template}class ${name}${inherit} {
1772 explicit_switch_type ""
1774 operation 128873 "RemotePlayer"
1775 public explicit_return_type ""
1777 param in name "id" explicit_type "int"
1778 param in name "net" type class_ref 130069 // Network
1779 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1781 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1789 operation 129411 "doMove"
1790 cpp_virtual protected return_type class_ref 129173 // Point
1792 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1794 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1802 attribute 128361 "_net"
1803 private type class_ref 130069 // Network
1804 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1811 classrelation 128489 // <realization>
1812 relation 128489 -_-|>
1814 cpp default "${type}"
1815 classrelation_ref 128489 // <realization>
1816 b parent class_ref 129045 // Player
1820 class 128312 "AIPlayer"
1822 cpp_decl "${comment}${template}class ${name}${inherit} {
1829 explicit_switch_type ""
1831 classrelation 128617 // <realization>
1832 relation 128617 -_-|>
1834 cpp default "${type}"
1835 classrelation_ref 128617 // <realization>
1836 b parent class_ref 129045 // Player
1839 classrelation 128216 // <directional composition>
1840 relation 128216 *-->
1841 a role_name "" protected
1842 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1844 classrelation_ref 128216 // <directional composition>
1845 b parent class_ref 129941 // AI
1848 attribute 128386 "_DefaultSkill"
1849 class_attribute const_attribute private explicit_type "int"
1850 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1857 attribute 128258 "_skill"
1858 private explicit_type "int"
1859 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1866 attribute 128216 "_ai"
1867 private type class_ref 129941 // AI
1868 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1875 operation 129001 "AIPlayer"
1876 public explicit_return_type ""
1878 param in name "id" explicit_type "int"
1879 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1881 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1887 comment "inizializza skill con la costante di classe DefaultSkill"
1890 operation 129539 "doMove"
1891 cpp_virtual protected return_type class_ref 129173 // Point
1893 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1895 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1903 operation 129410 "forceMove"
1904 public explicit_return_type "void"
1906 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1908 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1916 operation 128002 "skill"
1917 const public explicit_return_type "int"
1919 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1921 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1929 operation 128130 "setSkill"
1930 public explicit_return_type "void"
1932 param in name "skill" explicit_type "int"
1933 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1935 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1943 operation 130704 "undoMove"
1945 public explicit_return_type "void"
1947 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1949 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1958 class 129720 "Suggester"
1960 cpp_decl "${comment}${template}class ${name}${inherit} {
1967 explicit_switch_type ""
1969 classrelation 130616 // <realization>
1970 relation 130616 -_-|>
1972 cpp default "${type}"
1973 classrelation_ref 130616 // <realization>
1974 b parent class_ref 130197 // QThread
1977 attribute 128130 "_SuggestedMoveLevel"
1978 class_attribute const_attribute private explicit_type "int"
1979 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1986 attribute 128088 "_ai"
1987 private type class_ref 129941 // AI
1988 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1995 operation 130744 "Suggester"
1996 public explicit_return_type ""
1998 param in name "id" explicit_type "int"
1999 cpp_decl " ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2001 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2009 operation 128010 "~Suggester"
2010 public explicit_return_type ""
2012 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2014 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2022 operation 128056 "suggestMove"
2023 public return_type class_ref 129173 // Point
2025 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2027 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2035 operation 130616 "run"
2036 protected explicit_return_type "void"
2038 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2040 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2048 operation 130872 "suggestedMoveReady"
2050 protected explicit_return_type "void"
2052 param in name "point" type class_ref 129173 // Point
2053 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2055 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2063 classrelation 128088 // <directional composition>
2064 relation 128088 *-->
2065 a role_name "" protected
2066 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2068 classrelation_ref 128088 // <directional composition>
2069 b parent class_ref 129941 // AI
2073 class 129848 "HistoryModel"
2075 cpp_decl "${comment}${template}class ${name}${inherit} {
2082 explicit_switch_type ""
2084 classrelation 128637 // <realization>
2085 relation 128637 -_-|>
2087 cpp default "${type}"
2088 classrelation_ref 128637 // <realization>
2089 b parent class_ref 128509 // QAbstractTableModel
2092 attribute 130104 "_history"
2093 private explicit_type "QList<Move>"
2094 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2101 operation 128765 "columnCount"
2102 const cpp_virtual public explicit_return_type "int"
2104 param in name "parent" explicit_type "QModelIndex"
2105 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2112 operation 128637 "rowCount"
2113 const cpp_virtual public explicit_return_type "int"
2115 param in name "parent" explicit_type "QModelIndex"
2116 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2123 operation 128509 "data"
2124 const cpp_virtual public explicit_return_type "QVariant"
2126 param in name "index" explicit_type "QModelIndex"
2127 param in name "role" explicit_type "int"
2128 defaultvalue "Qt::DisplayRole"
2129 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2136 operation 128893 "flags"
2137 const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2139 param in name "index" explicit_type "QModelIndex"
2140 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2142 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2150 operation 129021 "headerData"
2151 const cpp_virtual public explicit_return_type "QVariant"
2153 param in name "section" explicit_type "int"
2154 param in name "orientation" explicit_type "Qt::Orientation"
2155 param in name "role" explicit_type "int"
2156 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2158 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2166 operation 131128 "add"
2167 public explicit_return_type "void"
2169 param in name "move" type class_ref 129301 // Move
2170 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2172 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2180 operation 129259 "insertRows"
2181 cpp_virtual public explicit_return_type "bool"
2183 param in name "row" explicit_type "int"
2184 param in name "count" explicit_type "int"
2185 param in name "parent" explicit_type "QModelIndex"
2186 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2188 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2196 operation 129387 "removeRows"
2197 cpp_virtual public explicit_return_type "bool"
2199 param in name "row" explicit_type "int"
2200 param in name "count" explicit_type "int"
2201 param in name "parent" explicit_type "QModelIndex"
2202 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2204 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2212 operation 129442 "moveList"
2213 const public explicit_return_type "QList<Move>"
2215 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2217 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2226 class 129976 "PlayerInfo"
2228 cpp_decl "${comment}${template}class ${name}${inherit} {
2235 explicit_switch_type ""
2237 attribute 130360 "_name"
2238 private type class_ref 128440 // QString
2239 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2246 attribute 130488 "_color"
2247 private type class_ref 128253 // QColor
2248 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2255 attribute 130616 "_type"
2256 private type class_ref 128440 // QString
2257 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2264 operation 128730 "PlayerInfo"
2265 public explicit_return_type ""
2267 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2269 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2275 comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2278 operation 129131 "PlayerInfo"
2279 public explicit_return_type ""
2281 param in name "name" type class_ref 128440 // QString
2282 param in name "color" type class_ref 128253 // QColor
2283 param in name "type" type class_ref 128440 // QString
2284 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2286 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2294 operation 128346 "name"
2295 const public return_type class_ref 128440 // QString
2297 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2299 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2307 operation 128474 "color"
2308 const public return_type class_ref 128253 // QColor
2310 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2312 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2320 operation 128602 "type"
2321 const public return_type class_ref 128440 // QString
2323 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2325 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2334 class 128125 "QTimer"
2336 cpp_decl "${comment}${template}class ${name}${inherit} {
2343 explicit_switch_type ""
2345 operation 128253 "start"
2347 public explicit_return_type "void"
2349 param in name "msec" explicit_type "int"
2350 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2352 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2360 operation 128381 "stop"
2362 public explicit_return_type "void"
2364 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2366 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2374 operation 128125 "timeout"
2376 protected explicit_return_type "void"
2378 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2380 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2389 class 128253 "QColor"
2391 cpp_decl "${comment}${template}class ${name}${inherit} {
2398 explicit_switch_type ""
2402 class 128381 "TimerWidget"
2404 cpp_decl "${comment}${template}class ${name}${inherit} {
2411 explicit_switch_type ""
2413 attribute 128125 "_timer"
2414 private type class_ref 128125 // QTimer
2415 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2422 classrelation 128381 // <directional composition>
2423 relation 128381 *-->
2424 a role_name "" protected
2425 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2427 classrelation_ref 128381 // <directional composition>
2428 b parent class_ref 128125 // QTimer
2431 classrelation 128509 // <generalisation>
2432 relation 128509 ---|>
2434 cpp default "${type}"
2435 classrelation_ref 128509 // <generalisation>
2436 b parent class_ref 128533 // QWidget
2440 class 128509 "QAbstractTableModel"
2441 abstract visibility package
2442 cpp_decl "${comment}${template}class ${name}${inherit} {
2449 explicit_switch_type ""
2453 class 128893 "QTableView"
2455 cpp_decl "${comment}${template}class ${name}${inherit} {
2462 explicit_switch_type ""
2464 classrelation 128444 // <generalisation>
2465 relation 128444 ---|>
2467 cpp default "${type}"
2468 classrelation_ref 128444 // <generalisation>
2469 b parent class_ref 128533 // QWidget
2472 classrelation 128191 // <dependency>
2473 relation 128191 -_->
2475 cpp default "#include in source"
2476 classrelation_ref 128191 // <dependency>
2477 b parent class_ref 129848 // HistoryModel
2481 class 129021 "PlayersWidget"
2483 cpp_decl "${comment}${template}class ${name}${inherit} {
2490 explicit_switch_type ""
2492 comment "rappresenta turno, colore, tipo, nome dei players"
2493 operation 129149 "PlayersWidget"
2494 public explicit_return_type ""
2496 param in name "info" explicit_type "QList<PlayerInfo>"
2497 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2499 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2505 comment "crea un QLabel per ogni player con \"freccia turno\", colore, tipo, nome."
2508 classrelation 128828 // <generalisation>
2509 relation 128828 ---|>
2511 cpp default "${type}"
2512 classrelation_ref 128828 // <generalisation>
2513 b parent class_ref 128533 // QWidget
2517 class 128227 "SoQtRenderArea"
2519 cpp_decl "${comment}${template}class ${name}${inherit} {
2526 explicit_switch_type ""
2530 class 128099 "CubeRenderArea"
2532 cpp_decl "${comment}${template}class ${name}${inherit} {
2539 explicit_switch_type ""
2541 class 128739 "Direction"
2542 visibility protected stereotype "enum"
2543 cpp_decl "${comment}${template}class ${name}${inherit} {
2550 explicit_switch_type ""
2552 attribute 129635 "UP"
2553 public explicit_type ""
2560 attribute 129763 "DOWN"
2561 public explicit_type ""
2568 attribute 129891 "LEFT"
2569 public explicit_type ""
2576 attribute 130019 "RIGHT"
2577 public explicit_type ""
2584 attribute 130147 "IN"
2585 public explicit_type ""
2592 attribute 130275 "OUT"
2593 public explicit_type ""
2601 class 128355 "Orientation"
2602 visibility protected stereotype "enum"
2603 cpp_decl "${comment}${template}class ${name}${inherit} {
2610 explicit_switch_type ""
2612 attribute 128483 "X_POSITIVE"
2613 public explicit_type ""
2614 cpp_decl " ${name}${value},${comment}"
2620 attribute 128739 "X_NEGATIVE"
2621 public explicit_type ""
2628 attribute 128867 "Y_POSITIVE"
2629 public explicit_type ""
2636 attribute 128995 "Y_NEGATIVE"
2637 public explicit_type ""
2644 attribute 129123 "Z_POSITIVE"
2645 public explicit_type ""
2652 attribute 129251 "Z_NEGATIVE"
2653 public explicit_type ""
2660 attribute 128111 "NO_ORIENTATION"
2661 protected explicit_type ""
2669 classrelation 128227 // <generalisation>
2670 relation 128227 ---|>
2672 cpp default "${type}"
2673 classrelation_ref 128227 // <generalisation>
2674 b parent class_ref 128227 // SoQtRenderArea
2677 classrelation 128458 // <directional composition>
2678 relation 128330 *-->
2679 a role_name "" multiplicity "0..1" protected
2680 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2682 classrelation_ref 128458 // <directional composition>
2683 b parent class_ref 128867 // SceneGraph
2686 attribute 128586 "_scene"
2687 private type class_ref 128867 // SceneGraph
2688 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2695 attribute 128099 "_acceptMove"
2696 private explicit_type "bool"
2697 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2704 attribute 128355 "_numCubes"
2705 private explicit_type "int"
2706 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2713 attribute 129994 "_isExploded"
2714 private explicit_type "sbBool"
2715 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2722 attribute 128227 "_isRotating"
2723 private explicit_type "sbBool"
2724 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2731 attribute 129379 "_frontSide"
2732 private type class_ref 128355 // Orientation
2733 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2740 attribute 129507 "_upSide"
2741 private type class_ref 128355 // Orientation
2742 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2749 operation 128611 "CubeRenderArea"
2750 public explicit_return_type ""
2752 param in name "parent" explicit_type "QWidget*"
2753 param in name "dim" explicit_type "int"
2754 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2756 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2762 comment "costruttore: costruisce SoQtRenderArea passando il parent. setta num_cubes con il valore dim, costruisce SceneGraph e poi chiama una funzione che gli ritorna il parametro _root , che imposta come grafo con una funzione di SoQtRenderArea"
2765 operation 128227 "drawMove"
2766 public explicit_return_type "void"
2768 param in name "p" type class_ref 129173 // Point
2769 param in name "c" explicit_type "sbColor"
2770 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2772 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2780 operation 129738 "doMove"
2781 public explicit_return_type "void"
2783 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2785 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2791 comment "se _acceptMove è vero, allora estrae il point dal cubo selezionato e, se non è gia di un altro giocatore, prende il lock su SyncSharedCondition(singleton quindi metodo statico per avere il puntatore), chiama la drawMove col colore del giocatore,setta acceptmove a false, poi chiama la notifyMove su SyncSharedCondition e rilascia il lock."
2794 operation 128739 "getOrientation"
2795 public return_type class_ref 128355 // Orientation
2797 param in name "dir" type class_ref 128739 // Direction
2798 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2800 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2806 comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
2809 operation 128355 "selectCube"
2810 public explicit_return_type "void"
2812 param in name "p" type class_ref 129173 // Point
2813 param in name "c" explicit_type "sbColor"
2814 defaultvalue "255,0,0"
2815 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2817 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2823 comment "usata dal suggeritore della mossa e dall'event dispatcher.
2824 il valore di default del parametro c, è il colore usato per la selezione nel caso generale.
2825 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
2828 attribute 130122 "_hasPreviousPick"
2829 private explicit_type "bool"
2830 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2835 comment "utilizzato per gestire gli eventi del mouse..il primo click è da ignorare perchè da coordinate sballate"
2838 attribute 130250 "_lastXPick"
2839 private explicit_type "float"
2840 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2845 comment "coordinate x dell ultimo click"
2848 attribute 130378 "_lastYPick"
2849 private explicit_type "float"
2850 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2857 attribute 130506 "_projection"
2858 private explicit_type "sbSphereSheetProjector"
2859 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2864 comment "usato per la telecamera. guardare documentazione"
2867 operation 128586 "rotateCamera"
2868 public explicit_return_type "void"
2870 param in name "newX" explicit_type "float"
2871 param in name "newY" explicit_type "float"
2872 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2874 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2880 comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
2883 operation 128714 "zoomCamera"
2884 public explicit_return_type "void"
2886 param in name "delta" explicit_type "int"
2887 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2889 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2895 comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
2898 operation 128202 "eventDispatcher"
2899 class_operation public explicit_return_type "void"
2901 param in name "userdata" explicit_type "void*"
2902 param in name "eventCB" explicit_type "QEvent*"
2903 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2905 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2911 comment "il dispatcher degli eventi..li raccoglie e chiama le funzioni adeguate. Gestisce tutti gli eventi tranne la selezione di una casella, che viene gestita direttamente da altre due funzioni di callback
2913 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
2914 per chiamare la applyImplosion() passare il parametro TRUE
2916 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
2917 invocare la applyImplosion() con parametro uguale a FALSE"
2920 operation 128330 "cubeSelected"
2921 class_operation public explicit_return_type "void"
2923 param in name "data" explicit_type "void*"
2924 param in name "path" explicit_type "SoPath*"
2925 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2927 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2933 comment "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro è la CubeRenderArea"
2936 operation 128458 "cubeDeselected"
2937 class_operation public explicit_return_type "void"
2939 param in name "data" explicit_type "void*"
2940 param in name "path" explicit_type "SoPath*"
2941 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2943 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2949 comment "deseleziona la casella ( cioè mette a null _selectedCube). data è il CubeRenderArea"
2952 attribute 128091 "_highlightAction"
2953 private explicit_type "SoLineHighlightRenderAction*"
2954 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2961 attribute 128039 "_mutex"
2962 private type class_ref 130837 // QMutex
2963 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2971 class 128867 "SceneGraph"
2973 cpp_decl "${comment}${template}class ${name}${inherit} {
2980 explicit_switch_type ""
2982 attribute 128458 "_renderArea"
2983 private type class_ref 128099 // CubeRenderArea
2984 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2991 operation 128842 "SceneGraph"
2992 public explicit_return_type ""
2994 param in name "ra" explicit_type "CubeRenderArea*"
2995 param in name "dim" explicit_type "int"
2996 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
2998 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3004 comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3007 attribute 128074 "_root"
3008 private explicit_type "SoSeparator"
3009 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3014 comment "il nodo radice del grafo: i suoi fogli saranno la camera la luce e _selector, che conterrà i due sogroup contenenti le caselle di gioco"
3017 attribute 128202 "_camera"
3018 private explicit_type "SoCamera"
3019 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3026 attribute 128330 "_light"
3027 private explicit_type "SoLight"
3028 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3035 attribute 128714 "_selector"
3036 private explicit_type "SoSelection"
3037 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3044 attribute 128842 "_fixedCubes"
3045 private explicit_type "SoGroup"
3046 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3051 comment "i cubi che non sono esplosi"
3054 attribute 128970 "_movedCubes"
3055 private explicit_type "QLinkedList<SoGroup*>"
3056 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3061 comment "i cubi esplosi"
3064 attribute 129098 "_shape"
3065 private explicit_type "SoShape"
3066 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3071 comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3074 attribute 129354 "_mover"
3075 private explicit_type "QLinkedList<SoTranslation>"
3076 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3081 comment "lista di traslazioni, una per ogni livello esploso"
3084 attribute 129482 "_interpolator"
3085 private explicit_type "QLinkedList<SoInterpolateVec3f>"
3086 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3091 comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3094 attribute 129610 "_timer"
3095 private explicit_type "QLinkedList<SoOneShot>"
3096 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3101 comment "lista di timer"
3104 attribute 129738 "_explodeSensor"
3105 private explicit_type "SoOneShotSensor"
3106 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3111 comment "classe che schedula la explode e la implode.
3112 Come callback avra' la explodeCubeCB di CubeRenderArea"
3115 attribute 129866 "_graphMatrix"
3116 private explicit_type "SoSeparator*"
3117 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3122 comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3125 operation 128970 "applyRotationToCamera"
3126 public explicit_return_type "void"
3128 param in name "rot" explicit_type "SbRotation*"
3129 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3131 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3137 comment "applica la rotazione rot alla telecamera"
3140 operation 129098 "applyTranslationToCamera"
3141 public explicit_return_type "void"
3143 param in name "delta" explicit_type "int"
3144 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3146 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3152 comment "applica una traslazione alla telecamera. Usata per lo zoom"
3155 operation 129226 "applyExplosionToCube"
3156 public explicit_return_type "void"
3158 param in name "desired" type class_ref 128355 // Orientation
3159 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3161 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3167 comment "se desired NON è uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3168 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3169 setto il campo _directionOfExplosion
3171 -chiamo n volte la explodeLevel()
3176 operation 129354 "applyImplosionToCube"
3177 public explicit_return_type "void"
3179 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3181 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3187 comment "apllica l'implosione.
3188 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3192 operation 128074 "getRoot"
3193 public explicit_return_type "SoSeparator*"
3195 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3197 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3205 operation 129482 "explodeLevel"
3206 private explicit_return_type "void"
3208 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3210 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3216 comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3217 Confronta le dimensioni degli array con _explodedLevels:
3218 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3219 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3220 INCREMENTARE _explodedLevels in ogni caso"
3223 operation 129610 "implodeLevel"
3224 private explicit_return_type "void"
3226 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3228 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3234 comment "funzione ausiliaria. Implode l ultimo livello esploso
3235 invertire le posizioni del mover e attivare il timer
3236 DECREMENTARE _explodedLevels"
3239 attribute 128239 "_selectedCube"
3240 private explicit_type "SoSeparator"
3241 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3248 attribute 128367 "_directionOfExplosion"
3249 private type class_ref 128355 // Orientation
3250 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3257 attribute 128495 "_explodedLevels"
3258 private explicit_type "int"
3259 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3267 class 128008 "QSettings"
3269 cpp_decl "${comment}${template}class ${name}${inherit} {
3276 explicit_switch_type ""
3280 class 128426 "AbstractSettings"
3281 abstract visibility package
3282 cpp_decl "${comment}${template}class ${name}${inherit} {
3289 explicit_switch_type ""
3291 operation 128776 "language"
3292 abstract const cpp_virtual public return_type class_ref 128440 // QString
3294 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3301 operation 128090 "dockState"
3302 abstract const cpp_virtual public explicit_return_type "QByteArray"
3304 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3311 operation 129416 "geometry"
3312 abstract const cpp_virtual public explicit_return_type "QByteArray"
3314 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3321 operation 128444 "defaultCubeColor"
3322 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3324 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3331 operation 128619 "backgroundColor"
3332 abstract const cpp_virtual public return_type class_ref 128253 // QColor
3334 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3341 operation 129544 "setLanguage"
3342 abstract cpp_virtual public explicit_return_type "void"
3344 param in name "lang" type class_ref 128440 // QString
3345 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3352 operation 128218 "setDockState"
3353 abstract const cpp_virtual public explicit_return_type "void"
3355 param in name "state" explicit_type "QByteArray"
3356 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3363 operation 129800 "setGeometry"
3364 abstract cpp_virtual public explicit_return_type "void"
3366 param in name "geom" explicit_type "QByteArray"
3367 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3374 operation 128572 "setDefaultCubeColor"
3375 abstract cpp_virtual public explicit_return_type "void"
3377 param in name "color" type class_ref 128253 // QColor
3378 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3385 operation 128747 "setBackgroundColor"
3386 abstract cpp_virtual public explicit_return_type "void"
3388 param in name "color" type class_ref 128253 // QColor
3389 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3397 class 130453 "SettingsManager"
3398 abstract visibility package
3399 cpp_decl "${comment}${template}class ${name}${inherit} {
3406 explicit_switch_type ""
3408 operation 128904 "playersInfo"
3409 abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3411 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3418 operation 129032 "difficulty1"
3419 abstract const cpp_virtual public explicit_return_type "int"
3421 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3428 operation 129160 "difficulty2"
3429 abstract const cpp_virtual public explicit_return_type "int"
3431 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3438 operation 129672 "setPlayersInfo"
3439 abstract cpp_virtual public explicit_return_type "void"
3441 param in name "info" explicit_type "QList<PlayerInfo>"
3442 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3449 operation 128009 "setDifficulty1"
3450 abstract cpp_virtual public explicit_return_type "void"
3452 param in name "d1" explicit_type "int"
3453 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3460 operation 128137 "setDifficulty2"
3461 abstract cpp_virtual public explicit_return_type "void"
3463 param in name "d2" explicit_type "int"
3464 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3471 classrelation 129450 // <generalisation>
3472 relation 129450 ---|>
3474 cpp default "${type}"
3475 classrelation_ref 129450 // <generalisation>
3476 b parent class_ref 128426 // AbstractSettings
3480 class 128042 "LocalSettings"
3482 cpp_decl "${comment}${template}class ${name}${inherit} {
3489 explicit_switch_type ""
3491 classrelation 129578 // <generalisation>
3492 relation 129578 ---|>
3494 cpp default "${type}"
3495 classrelation_ref 129578 // <generalisation>
3496 b parent class_ref 128298 // GUISettings
3499 classrelation 129962 // <realization>
3500 relation 129962 -_-|>
3502 cpp default "${type}"
3503 classrelation_ref 129962 // <realization>
3504 b parent class_ref 130453 // SettingsManager
3508 class 128170 "ServerSettings"
3510 cpp_decl "${comment}${template}class ${name}${inherit} {
3517 explicit_switch_type ""
3519 operation 129186 "serverPort"
3520 const public explicit_return_type "quint16"
3522 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3524 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3532 operation 128170 "timerDuration"
3533 const public explicit_return_type "int"
3535 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3537 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3545 operation 129314 "setServerPort"
3546 public explicit_return_type "void"
3548 param in name "port" explicit_type "quint16"
3549 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3551 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3559 operation 128298 "setTimerDuration"
3560 public explicit_return_type "void"
3562 param in name "msec" explicit_type "int"
3563 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3565 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3573 classrelation 129706 // <generalisation>
3574 relation 129706 ---|>
3576 cpp default "${type}"
3577 classrelation_ref 129706 // <generalisation>
3578 b parent class_ref 128298 // GUISettings
3581 classrelation 129834 // <realization>
3582 relation 129834 -_-|>
3584 cpp default "${type}"
3585 classrelation_ref 129834 // <realization>
3586 b parent class_ref 130453 // SettingsManager
3590 class 128298 "GUISettings"
3592 cpp_decl "${comment}${template}class ${name}${inherit} {
3599 explicit_switch_type ""
3601 classrelation 129194 // <realization>
3602 relation 129194 -_-|>
3604 cpp default "${type}"
3605 classrelation_ref 129194 // <realization>
3606 b parent class_ref 128426 // AbstractSettings
3609 classrelation 129322 // <generalisation>
3610 relation 129322 ---|>
3611 stereotype "protected"
3613 cpp default "${type}"
3614 classrelation_ref 129322 // <generalisation>
3615 b parent class_ref 128008 // QSettings
3619 class 129345 "GameClient"
3621 cpp_decl "${comment}${template}class ${name}${inherit} {
3628 explicit_switch_type ""
3630 classrelation 129345 // <realization>
3631 relation 129345 -_-|>
3633 cpp default "${type}"
3634 classrelation_ref 129345 // <realization>
3635 b parent class_ref 130069 // Network
3638 classrelation 129168 // <directional composition>
3639 relation 129168 *-->
3640 a role_name "" protected
3641 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3643 classrelation_ref 129168 // <directional composition>
3644 b parent class_ref 129168 // ClientSocket
3647 attribute 129267 "_localPlayer"
3648 private explicit_type "int"
3649 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3656 attribute 129296 "_server"
3657 private type class_ref 129168 // ClientSocket
3658 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3665 operation 129296 "GameClient"
3666 public explicit_return_type ""
3668 param in name "gui" type class_ref 128533 // QWidget
3669 param in name "serverAddress" type class_ref 128440 // QString
3670 param in name "serverPort" explicit_type "quint16"
3671 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3673 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3681 operation 129561 "~GameClient"
3682 cpp_virtual public explicit_return_type ""
3684 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3686 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3694 operation 129424 "requestMove"
3695 cpp_virtual public return_type class_ref 129173 // Point
3697 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3704 operation 129552 "setupChat"
3705 cpp_virtual public explicit_return_type "void"
3707 param in name "widget" type class_ref 128789 // ChatWidget
3708 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3710 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3718 operation 129267 "setLocalPlayer"
3720 private explicit_return_type "void"
3722 param in name "id" explicit_type "int"
3723 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3725 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3734 class 129217 "GameServer"
3735 visibility protected
3736 cpp_decl "${comment}${template}class ${name}${inherit} {
3743 explicit_switch_type ""
3745 classrelation 129217 // <realization>
3746 relation 129217 -_-|>
3748 cpp default "${type}"
3749 classrelation_ref 129217 // <realization>
3750 b parent class_ref 130069 // Network
3753 classrelation 129296 // <directional composition>
3754 relation 129296 *-->
3755 a role_name "" multiplicity "*" protected
3756 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3758 classrelation_ref 129296 // <directional composition>
3759 b parent class_ref 129296 // ServerSocket
3762 classrelation 129424 // <directional composition>
3763 relation 129424 *-->
3764 a role_name "" protected
3765 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3767 classrelation_ref 129424 // <directional composition>
3768 b parent class_ref 129212 // QTcpServer
3771 operation 129936 "GameServer"
3772 public explicit_return_type ""
3774 param in name "gui" type class_ref 128533 // QWidget
3775 param in name "history" type class_ref 129848 // HistoryModel
3776 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
3778 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3786 operation 129433 "~GameServer"
3787 cpp_virtual public explicit_return_type ""
3789 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3791 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3799 operation 129680 "requestMove"
3800 cpp_virtual public return_type class_ref 129173 // Point
3802 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3809 operation 129808 "setupChat"
3810 cpp_virtual public explicit_return_type "void"
3812 param in name "widget" type class_ref 128789 // ChatWidget
3813 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3815 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3823 operation 130064 "handleIncomingConnection"
3825 private explicit_return_type "void"
3827 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3829 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3837 operation 132431 "handleJoinRequest"
3839 private explicit_return_type "void"
3841 param in name "mode" type class_ref 128440 // QString
3842 param in name "name" type class_ref 128440 // QString
3843 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3845 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3853 operation 128024 "setTurn"
3855 private explicit_return_type "void"
3857 param in name "playerId" explicit_type "int"
3858 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3860 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3868 attribute 129424 "_listener"
3869 private type class_ref 129212 // QTcpServer
3870 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3877 attribute 129552 "_pendingConnections"
3878 private explicit_type "QLinkedList<ServerSocket>"
3879 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3886 attribute 129680 "_remotePlayers"
3887 private explicit_type "QList<ServerSocket>"
3888 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3895 attribute 129808 "_spectators"
3896 private explicit_type "QList<ServerSocket>"
3897 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3904 attribute 130064 "_gameInProgress"
3905 private explicit_type "bool"
3906 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3913 attribute 129936 "_history"
3914 private type class_ref 129848 // HistoryModel
3915 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3922 attribute 129199 "_names"
3923 private explicit_type "QStringList"
3924 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3931 attribute 130492 "_numberOfPlayers"
3932 private explicit_type "int"
3933 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3940 attribute 128024 "_turn"
3941 private explicit_type "int"
3942 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3949 attribute 129395 "_settings"
3950 private type class_ref 128170 // ServerSettings
3951 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3959 class 129231 "StreamSocket"
3961 cpp_decl "${comment}${template}class ${name}${inherit} {
3968 explicit_switch_type ""
3970 class 129359 "ProtocolState"
3971 visibility protected stereotype "enum"
3972 cpp_decl "${comment}enum ${name} {
3976 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
3980 php_decl "${comment}final ${visibility}class ${name} {
3983 idl_decl "${comment}enum ${name} {
3986 explicit_switch_type ""
3988 attribute 129743 "Unconnected"
3989 public type class_ref 129359 // ProtocolState
3990 cpp_decl " ${name}${value},${comment}"
3996 attribute 129871 "Listening"
3997 public type class_ref 129359 // ProtocolState
3998 cpp_decl " ${name}${value},${comment}"
4004 attribute 129999 "Connecting"
4005 public type class_ref 129359 // ProtocolState
4006 cpp_decl " ${name}${value},${comment}"
4012 attribute 130127 "Connected"
4013 public type class_ref 129359 // ProtocolState
4014 cpp_decl " ${name}${value},${comment}"
4020 attribute 130255 "OpeningStream"
4021 public type class_ref 129359 // ProtocolState
4022 cpp_decl " ${name}${value},${comment}"
4028 attribute 130383 "FullyOpened"
4029 public type class_ref 129359 // ProtocolState
4030 cpp_decl " ${name}${value},${comment}"
4036 attribute 130511 "Idle"
4037 public type class_ref 129359 // ProtocolState
4038 cpp_decl " ${name}${value},${comment}"
4044 attribute 130639 "AwaitingJoinRequest"
4045 public type class_ref 129359 // ProtocolState
4046 cpp_decl " ${name}${value},${comment}"
4052 attribute 130767 "AwaitingJoinAnswer"
4053 public type class_ref 129359 // ProtocolState
4054 cpp_decl " ${name}${value},${comment}"
4060 attribute 130895 "AwaitingPlayers"
4061 public type class_ref 129359 // ProtocolState
4062 cpp_decl " ${name}${value},${comment}"
4068 attribute 131023 "AwaitingGameStart"
4069 public type class_ref 129359 // ProtocolState
4070 cpp_decl " ${name}${value},${comment}"
4076 attribute 131151 "Playing"
4077 public type class_ref 129359 // ProtocolState
4078 cpp_decl " ${name}${value},${comment}"
4084 attribute 131279 "AwaitingMove"
4085 public type class_ref 129359 // ProtocolState
4086 cpp_decl " ${name}${value},${comment}"
4092 attribute 131407 "Closing"
4093 public type class_ref 129359 // ProtocolState
4094 cpp_decl " ${name}${value},${comment}"
4100 attribute 131535 "Closed"
4101 public type class_ref 129359 // ProtocolState
4102 cpp_decl " ${name}${value},${comment}"
4109 classrelation 129487 // <generalisation>
4110 relation 129487 ---|>
4111 stereotype "protected"
4113 cpp default "${type}"
4114 classrelation_ref 129487 // <generalisation>
4115 b parent class_ref 129601 // QXmlStreamWriter
4118 classrelation 129615 // <generalisation>
4119 relation 129615 ---|>
4120 stereotype "protected"
4122 cpp default "${type}"
4123 classrelation_ref 129615 // <generalisation>
4124 b parent class_ref 129473 // QXmlStreamReader
4127 classrelation 129743 // <directional composition>
4128 relation 129743 *-->
4129 a role_name "" protected
4130 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4132 classrelation_ref 129743 // <directional composition>
4133 b parent class_ref 129340 // QTcpSocket
4136 attribute 129231 "_supportedProtocolVersion"
4137 class_attribute const_attribute protected type class_ref 128440 // QString
4138 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4145 attribute 129359 "_socket"
4146 protected type class_ref 129340 // QTcpSocket
4147 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4154 attribute 129487 "_buffer"
4155 private explicit_type "QLinkedList<Move>"
4156 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4163 attribute 129615 "_state"
4164 private explicit_type "ProtocolState"
4165 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4172 operation 129231 "StreamSocket"
4173 protected explicit_return_type ""
4175 param in name "socket" type class_ref 129340 // QTcpSocket
4176 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4178 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4186 operation 129177 "~StreamSocket"
4187 public explicit_return_type ""
4189 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4191 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4199 operation 129305 "state"
4200 const public explicit_return_type "ProtocolState"
4202 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4204 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4212 operation 129359 "changeState"
4213 protected explicit_return_type "void"
4215 param in name "state" explicit_type "ProtocolState"
4216 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4218 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4226 operation 129487 "sendChatMessage"
4228 public explicit_return_type "void"
4230 param in name "msg" type class_ref 128440 // QString
4231 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4233 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4241 operation 129615 "sendMove"
4243 public explicit_return_type "void"
4245 param in name "move" type class_ref 129301 // Move
4246 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4248 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4256 operation 129743 "openStream"
4258 protected explicit_return_type "void"
4260 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4262 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4270 operation 129871 "closeStream"
4272 protected explicit_return_type "void"
4274 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4276 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4284 operation 129999 "handleError"
4286 protected explicit_return_type "void"
4288 param in name "error" explicit_type "QAbstractSocket::SocketError"
4289 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4291 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4299 operation 130127 "parseData"
4301 protected explicit_return_type "void"
4303 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4305 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4313 operation 130255 "playerJoined"
4315 protected explicit_return_type "void"
4317 param in name "id" explicit_type "int"
4318 param in name "name" type class_ref 128440 // QString
4319 param in name "type" type class_ref 128440 // QString
4320 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4322 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4330 operation 130383 "playerLeft"
4332 protected explicit_return_type "void"
4334 param in name "id" explicit_type "int"
4335 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4337 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4345 operation 130511 "receivedChatMessage"
4347 protected explicit_return_type "void"
4349 param in name "msg" type class_ref 128440 // QString
4350 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4352 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4360 operation 130639 "receivedMove"
4362 protected explicit_return_type "void"
4364 param in name "move" type class_ref 129301 // Move
4365 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4367 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4375 operation 130767 "startGame"
4377 protected explicit_return_type "void"
4379 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4381 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4389 classrelation 129187 // <unidirectional association>
4390 relation 129187 --->
4391 a role_name "" protected
4392 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4394 classrelation_ref 129187 // <unidirectional association>
4395 b multiplicity "*" parent class_ref 129359 // ProtocolState
4399 class 129168 "ClientSocket"
4401 cpp_decl "${comment}${template}class ${name}${inherit} {
4408 explicit_switch_type ""
4410 classrelation 129359 // <generalisation>
4411 relation 129359 ---|>
4413 cpp default "${type}"
4414 classrelation_ref 129359 // <generalisation>
4415 b parent class_ref 129231 // StreamSocket
4418 operation 129315 "ClientSocket"
4419 public explicit_return_type ""
4421 param in name "socket" type class_ref 129340 // QTcpSocket
4422 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4424 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4432 operation 132047 "joinGame"
4434 public explicit_return_type "void"
4436 param in name "mode" type class_ref 128440 // QString
4437 param in name "name" type class_ref 128440 // QString
4438 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4440 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4448 operation 132175 "cancelJoin"
4450 public explicit_return_type "void"
4452 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4454 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4462 operation 132303 "parseData"
4464 protected explicit_return_type "void"
4466 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4468 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4476 operation 132559 "joinAccepted"
4478 protected explicit_return_type "void"
4480 param in name "id" explicit_type "int"
4481 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4483 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4491 operation 132687 "joinRefused"
4493 protected explicit_return_type "void"
4495 param in name "cause" explicit_type "int"
4496 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4498 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4506 operation 132815 "receivedGameSettings"
4508 protected explicit_return_type "void"
4510 param in name "d1" explicit_type "int"
4511 param in name "d2" explicit_type "int"
4512 param in name "timer" explicit_type "int"
4513 param in name "playing" explicit_type "bool"
4514 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4516 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4524 operation 132943 "receivedHistory"
4526 protected explicit_return_type "void"
4528 param in name "history" explicit_type "QList<Move>"
4529 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4531 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4540 class 129296 "ServerSocket"
4542 cpp_decl "${comment}${template}class ${name}${inherit} {
4549 explicit_switch_type ""
4551 classrelation 129231 // <generalisation>
4552 relation 129231 ---|>
4554 cpp default "${type}"
4555 classrelation_ref 129231 // <generalisation>
4556 b parent class_ref 129231 // StreamSocket
4559 operation 129187 "ServerSocket"
4560 public explicit_return_type ""
4562 param in name "socket" type class_ref 129340 // QTcpSocket
4563 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4565 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4573 operation 130895 "acceptJoin"
4574 public explicit_return_type "void"
4576 param in name "id" explicit_type "int"
4577 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4579 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4587 operation 131023 "refuseJoin"
4588 public explicit_return_type "void"
4590 param in name "cause" explicit_type "int"
4591 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4593 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4601 operation 131151 "sendGameSettings"
4603 public explicit_return_type "void"
4605 param in name "d1" explicit_type "int"
4606 param in name "d2" explicit_type "int"
4607 param in name "timer" explicit_type "int"
4608 param in name "playing" explicit_type "bool"
4609 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4611 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4619 operation 131279 "sendHistory"
4621 public explicit_return_type "void"
4623 param in name "history" explicit_type "QList<Move>"
4624 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4626 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4634 operation 131407 "sendPlayerJoined"
4636 public explicit_return_type "void"
4638 param in name "id" explicit_type "int"
4639 param in name "name" type class_ref 128440 // QString
4640 param in name "type" type class_ref 128440 // QString
4641 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4643 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4651 operation 131535 "sendPlayerLeft"
4653 public explicit_return_type "void"
4655 param in name "id" explicit_type "int"
4656 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4658 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4666 operation 131663 "sendStartGame"
4668 public explicit_return_type "void"
4670 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4672 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4680 operation 131791 "parseData"
4682 protected explicit_return_type "void"
4684 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4686 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4694 operation 131919 "joinRequested"
4696 protected explicit_return_type "void"
4698 param in name "mode" type class_ref 128440 // QString
4699 param in name "name" type class_ref 128440 // QString
4700 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4702 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4711 class 129340 "QTcpSocket"
4713 cpp_decl "${comment}${template}class ${name}${inherit} {
4720 explicit_switch_type ""
4722 operation 130448 "connected"
4724 protected explicit_return_type "void"
4726 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4728 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4736 operation 130576 "error"
4738 protected explicit_return_type "void"
4740 param in name "socketError" explicit_type "QAbstractSocket::SocketError"
4741 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4743 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4751 operation 130320 "readyRead"
4753 protected explicit_return_type "void"
4755 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4757 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4766 class 129212 "QTcpServer"
4768 cpp_decl "${comment}${template}class ${name}${inherit} {
4775 explicit_switch_type ""
4777 operation 130192 "newConnection"
4779 protected explicit_return_type "void"
4781 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4783 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4792 class 129473 "QXmlStreamReader"
4794 cpp_decl "${comment}${template}class ${name}${inherit} {
4801 explicit_switch_type ""
4805 class 129601 "QXmlStreamWriter"
4807 cpp_decl "${comment}${template}class ${name}${inherit} {
4814 explicit_switch_type ""
4818 class 128003 "ThreatSearchAI"
4820 cpp_decl "${comment}${template}class ${name}${inherit} {
4827 explicit_switch_type ""
4829 classrelation 128003 // <realization>
4830 relation 128003 -_-|>
4832 cpp default "${type}"
4833 classrelation_ref 128003 // <realization>
4834 b parent class_ref 129941 // AI
4837 operation 131203 "ThreatSearchAI"
4838 public explicit_return_type ""
4840 param in name "id" explicit_type "int"
4841 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
4843 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4851 operation 128091 "~ThreatSerachAI"
4852 public explicit_return_type ""
4854 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4856 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4864 attribute 128003 "_d1"
4865 protected explicit_type "int"
4866 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4873 attribute 128131 "_d2"
4874 protected explicit_type "int"
4875 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4882 attribute 128259 "_threat"
4883 protected type class_ref 128131 // Threat
4884 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4891 attribute 128387 "_mat"
4892 protected type class_ref 129557 // GameMatrix
4893 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4900 operation 131331 "init"
4901 public explicit_return_type "void"
4903 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4905 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4913 operation 130947 "move"
4914 cpp_virtual public return_type class_ref 129173 // Point
4916 param in name "level" explicit_type "int"
4923 operation 131075 "forceMove"
4924 cpp_virtual public explicit_return_type "void"
4926 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4933 operation 131843 "movesUndone"
4934 cpp_virtual public explicit_return_type "void"
4936 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4938 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4946 operation 131587 "createThreat"
4947 protected explicit_return_type "Threat*"
4949 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4951 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4959 operation 131459 "defenseHook"
4960 protected return_type class_ref 129173 // Point
4962 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4964 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4972 operation 131715 "defense"
4973 private return_type class_ref 129173 // Point
4975 param in name "level" explicit_type "int"
4976 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4978 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4986 classrelation 128387 // <composition>
4987 relation 128387 *---
4988 a role_name "" multiplicity "0..1" protected
4989 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4991 classrelation_ref 128387 // <composition>
4992 b role_name "" protected
4993 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4995 classrelation_ref 128515 // <composition>
4999 class 128131 "Threat"
5001 cpp_decl "${comment}${template}class ${name}${inherit} {
5008 explicit_switch_type ""
5010 class 128643 "Direction"
5011 visibility public stereotype "enum"
5012 cpp_decl "${comment}enum ${name} {
5016 java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5020 php_decl "${comment}final ${visibility}class ${name} {
5023 idl_decl "${comment}enum ${name} {
5026 explicit_switch_type ""
5028 attribute 130179 "DIR_X"
5029 public type class_ref 128643 // Direction
5030 cpp_decl " ${name}${value},${comment}"
5036 attribute 130307 "DIR_Y"
5037 public type class_ref 128643 // Direction
5038 cpp_decl " ${name}${value},${comment}"
5044 attribute 130563 "DIR_Z"
5045 public type class_ref 128643 // Direction
5046 cpp_decl " ${name}${value},${comment}"
5055 cpp_decl "${comment}${template}class ${name}${inherit} {
5062 explicit_switch_type ""
5064 attribute 129539 "value"
5065 public explicit_type "int"
5066 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5073 attribute 129667 "point"
5074 public type class_ref 129173 // Point
5075 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5082 attribute 129795 "dir"
5083 public type class_ref 128739 // Direction
5084 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5091 attribute 129923 "par"
5092 public explicit_type "Node**"
5093 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5100 attribute 130051 "next"
5101 public explicit_type "Node*"
5102 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5109 classrelation 128643 // <unidirectional association>
5110 relation 128515 --->
5111 a role_name "" protected
5112 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5114 classrelation_ref 128643 // <unidirectional association>
5115 b multiplicity "*" parent class_ref 128643 // Direction
5118 operation 133635 "Node"
5119 public explicit_return_type ""
5121 param in name "val" explicit_type "int"
5122 param in name "p" type class_ref 129173 // Point
5123 param in name "dir" type class_ref 128739 // Direction
5124 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5126 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5134 operation 133507 "~Node"
5135 public explicit_return_type ""
5137 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5139 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5147 classrelation 129461 // <directional composition>
5148 relation 129333 *-->
5149 a role_name "" multiplicity "0..1" protected
5150 cpp default " ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5152 classrelation_ref 129461 // <directional composition>
5153 b parent class_ref 128515 // Node
5157 attribute 128515 "_ai"
5158 protected explicit_type "ThreatSearchAI*"
5159 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5166 attribute 128643 "_mat"
5167 protected explicit_type "GameMatrix*"
5168 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5175 attribute 128771 "_d1"
5176 protected explicit_type "int"
5177 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5184 attribute 128899 "_d2"
5185 protected explicit_type "int"
5186 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5193 attribute 129027 "_x"
5194 private explicit_type "QMap<Point,Node*>"
5195 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5202 attribute 129155 "_y"
5203 private explicit_type "QMap<Point,Node*>"
5204 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5211 attribute 129283 "_z"
5212 private explicit_type "QMap<Point,Node*>"
5213 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5220 attribute 129411 "_priority"
5221 private explicit_type "Node**"
5222 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5229 operation 132355 "Threat"
5230 public explicit_return_type ""
5232 param in name "ai" explicit_type "ThreatSearchAI*"
5233 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5235 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5243 operation 128219 "~Threat"
5244 public explicit_return_type ""
5246 cpp_decl " ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5248 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5256 operation 132483 "insert"
5257 public explicit_return_type "void"
5259 param in name "point" type class_ref 129173 // Point
5260 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5262 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5270 classrelation 128515 // <composition>
5271 relation_ref 128387 // <composition>
5274 operation 132611 "scanFromMatrix"
5275 public explicit_return_type "void"
5277 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5279 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5287 operation 132739 "insertHook"
5288 protected explicit_return_type "void"
5290 param in name "p" type class_ref 129173 // Point
5291 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5293 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5301 operation 132867 "scanFromMatrixHook"
5302 protected explicit_return_type "void"
5304 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5306 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5314 operation 132995 "removeFromPriority"
5315 private explicit_return_type "void"
5317 param in name "it" explicit_type "Node*"
5318 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5320 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5328 operation 133123 "insertInPriority"
5329 private explicit_return_type "void"
5331 param in name "it" explicit_type "Node*"
5332 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5334 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5342 operation 133251 "evalInsert"
5343 private explicit_return_type "void"
5345 param in name "p" type class_ref 129173 // Point
5346 param in name "index" explicit_type "int"
5347 param in name "dir" type class_ref 128739 // Direction
5348 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5350 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5358 operation 133379 "evalPriority"
5359 private explicit_return_type "int"
5361 param in name "p" type class_ref 129173 // Point
5362 param in name "dir" type class_ref 128739 // Direction
5363 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5365 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5373 classrelation 128899 // <directional composition>
5374 relation 128771 *-->
5375 a role_name "" multiplicity "*" protected
5376 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5378 classrelation_ref 128899 // <directional composition>
5379 b parent class_ref 128515 // Node
5383 class 128387 "CCThreat"
5385 cpp_decl "${comment}${template}class ${name}${inherit} {
5392 explicit_switch_type ""
5394 attribute 130691 "_opponentCC"
5395 private explicit_type "QVector<QList<ConnectedComponent>>"
5396 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5403 operation 133763 "CCThreat"
5404 public explicit_return_type ""
5406 param in name "ai" explicit_type "CCThreatSearchAI*"
5407 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5409 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5417 classrelation 128771 // <generalisation>
5418 relation 128643 ---|>
5420 cpp default "${type}"
5421 classrelation_ref 128771 // <generalisation>
5422 b parent class_ref 128131 // Threat
5425 operation 133891 "insertHook"
5426 protected explicit_return_type "void"
5428 param in name "p" type class_ref 129173 // Point
5429 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5431 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5439 operation 134019 "scanFromMatrixHook"
5440 protected explicit_return_type "void"
5442 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5444 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5452 operation 134147 "find"
5453 private explicit_return_type "int"
5455 param in name "id" explicit_type "int"
5456 param in name "p" type class_ref 129173 // Point
5457 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5459 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5467 operation 134275 "explore"
5468 private explicit_return_type "void"
5470 param in name "p" type class_ref 129173 // Point
5471 param in name "id" explicit_type "int"
5472 param inout name "set" explicit_type "QSet<Point>"
5473 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5475 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5483 operation 134403 "merge"
5484 private explicit_return_type "void"
5486 param in name "p1" type class_ref 129173 // Point
5487 param in name "p2" type class_ref 129173 // Point
5488 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5490 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5498 class 128771 "ConnectedComponent"
5500 cpp_decl "${comment}${template}class ${name}${inherit} {
5507 explicit_switch_type ""
5509 operation 134531 "ConnectedComponent"
5510 public explicit_return_type ""
5512 param in name "items" explicit_type "QSet<Point>"
5513 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5515 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5523 operation 134659 "ConnectedComponent"
5524 public explicit_return_type ""
5526 param in name "p" type class_ref 129173 // Point
5527 cpp_decl " ${comment}${inline}${name}${(}${)}${volatile}${throw};
5529 cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5537 attribute 130819 "nodes"
5538 public explicit_type "QSet<Point>"
5539 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5546 attribute 130947 "min_x"
5547 public explicit_type "int"
5548 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5555 attribute 131075 "min_y"
5556 public explicit_type "int"
5557 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5564 attribute 131203 "min_z"
5565 public explicit_type "int"
5566 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5573 attribute 131331 "max_x"
5574 public explicit_type "int"
5575 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5582 attribute 131459 "max_y"
5583 public explicit_type "int"
5584 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5591 attribute 131587 "max_z"
5592 public explicit_type "int"
5593 cpp_decl " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5601 classrelation 129027 // <directional composition>
5602 relation 128899 *-->
5603 a role_name "" multiplicity "*" protected
5604 cpp default " ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5606 classrelation_ref 129027 // <directional composition>
5607 b parent class_ref 128771 // ConnectedComponent
5611 class 128259 "CCThreatSearchAI"
5613 cpp_decl "${comment}${template}class ${name}${inherit} {
5620 explicit_switch_type ""
5622 classrelation 128259 // <generalisation>
5623 relation 128259 ---|>
5625 cpp default "${type}"
5626 classrelation_ref 128259 // <generalisation>
5627 b parent class_ref 128003 // ThreatSearchAI
5630 operation 132227 "CCThreatSearchAI"
5631 public explicit_return_type ""
5633 param in name "id" explicit_type "int"
5634 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5636 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5644 operation 132099 "createThreat"
5645 protected explicit_return_type "Threat*"
5647 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5649 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5657 operation 131971 "defenseHook"
5658 protected return_type class_ref 129173 // Point
5660 cpp_decl " ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5662 cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5671 class 128440 "QString"
5673 cpp_decl "${comment}${template}class ${name}${inherit} {
5680 explicit_switch_type ""
5684 class 129199 "QStringList"
5686 cpp_decl "${comment}${template}class ${name}${inherit} {
5693 explicit_switch_type ""
5697 class 128182 "QList"
5700 formal name "T" type "typename" explicit_default_value ""
5702 cpp_decl "${comment}${template}class ${name}${inherit} {
5709 explicit_switch_type ""
5713 class 128122 "QLinkedList"
5716 formal name "T" type "typename" explicit_default_value ""
5718 cpp_decl "${comment}${template}class ${name}${inherit} {
5725 explicit_switch_type ""
5732 formal name "K" type "typename" explicit_default_value ""
5734 formal name "T" type "typename" explicit_default_value ""
5736 cpp_decl "${comment}${template}class ${name}${inherit} {
5743 explicit_switch_type ""
5747 class 129327 "QVector"
5750 formal name "T" type "typename" explicit_default_value ""
5752 cpp_decl "${comment}${template}class ${name}${inherit} {
5759 explicit_switch_type ""
5763 sequencediagram 128054 "InitSequence"
5764 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
5768 sequencediagram 128148 "GameLoop::run"
5769 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5770 overlapping_bars size A3
5773 sequencediagram 128213 "HumanPlayer::doMove"
5774 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5775 overlapping_bars size A3
5778 sequencediagram 129168 "RemotePlayer::doMove"
5779 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5780 overlapping_bars size A3
5783 sequencediagram 128024 "AIPlayer::doMove"
5784 show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5785 overlapping_bars size A3
5788 activity 128011 "GameMatrix::add"
5789 activitydiagram 128011 "add"
5790 package_name_in_tab default show_context default show_opaque_action_definition default auto_label_position default write_flow_label_horizontally default draw_all_relations yes shadow no
5791 show_infonote default drawing_language default
5795 parameter 128011 "move" explicit_type ""
5798 flow 128011 "<flow>"
5799 on pin_ref 128011 // m
5803 activitynode 128011 initial ""
5804 flow 128139 "<flow>"
5805 on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
5809 activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
5811 pin 128011 "m" explicit_type ""
5816 flow 128267 "<flow>"
5817 on expansionnode_ref 128011 // dir
5821 expansionregion 128011 ""
5823 expansionnode 128011 "dir"
5825 unordered is_control
5826 flow 128395 "<flow>"
5827 on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
5831 activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
5833 flow 129419 "<flow>"
5834 on activitynode_ref 128395 // merge
5838 activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
5840 pin 128139 "d" explicit_type ""
5843 flow 130955 "<flow>"
5844 on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
5849 activityaction 128395 "i = i + 1"
5851 flow 129675 "<flow>"
5852 on activitynode_ref 128395 // merge
5856 activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
5858 flow 129163 "<flow>"
5859 on activitynode_ref 128267 // decision
5863 activitynode 128267 decision ""
5864 flow 129291 "<flow>"
5865 on activityaction_ref 128395 // activity action i = i + 1
5866 uml_guard "elementAt(k) == m.playerId()"
5869 flow 130571 "<flow>"
5870 on activityaction_ref 128779 // activity action i = 0, start = start + 1
5874 flow 130699 "<flow>"
5875 on activitynode_ref 128779 // flow_final
5876 uml_guard "elementAt(k) == -2"
5880 activitynode 128395 merge ""
5881 flow 129248 "<flow>"
5882 on activitynode_ref 129248 // decision
5886 activitynode 128523 decision ""
5887 flow 129803 "<flow>"
5888 on activityaction_ref 128523 // activity action costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i
5892 flow 129632 "<flow>"
5893 on activitynode_ref 128779 // flow_final
5894 uml_guard "start > m.point().d()"
5898 expansionnode 128139 ""
5900 unordered is_control
5901 flow 131595 "<flow>"
5902 on activitynode_ref 129035 // decision
5906 activitynode 129248 decision ""
5907 flow 129376 "<flow>"
5908 on activitynode_ref 128523 // decision
5912 flow 129760 "<flow>"
5913 on activitynode_ref 129291 // merge
5919 parameter 128139 "win" explicit_type ""
5920 unordered is_control
5924 activityaction 128651 "win = true"
5926 flow 130187 "<flow>"
5927 on activitynode_ref 128651 // merge
5931 activitynode 128651 merge ""
5932 flow 130315 "<flow>"
5933 on parameter_ref 128139 // win
5937 activityaction 128779 "i = 0, start = start + 1"
5939 flow 130827 "<flow>"
5940 on activitynode_ref 128395 // merge
5944 activitynode 128779 flow_final ""
5947 activityaction 128907 "win = false"
5949 flow 131211 "<flow>"
5950 on activitynode_ref 128651 // merge
5954 activitynode 128907 merge ""
5955 flow 131339 "<flow>"
5956 on activityaction_ref 128907 // activity action win = false
5960 activityaction 129035 "set = {}, extractCC(point, id, set)"
5962 flow 131979 "<flow>"
5963 on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
5967 activitynode 129035 decision ""
5968 flow 131723 "<flow>"
5969 on activitynode_ref 128907 // merge
5973 flow 131851 "<flow>"
5974 on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
5975 uml_guard "_d2 == 3"
5979 activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
5981 pin 128267 "estremi" explicit_type ""
5982 multiplicity "3" unordered
5984 flow 132107 "<flow>"
5985 on activitynode_ref 129163 // decision
5990 activitynode 129163 decision ""
5991 flow 132491 "<flow>"
5992 on activitynode_ref 129291 // merge
5993 uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
5996 flow 132619 "<flow>"
5997 on activitynode_ref 128907 // merge
6002 activitynode 129291 merge ""
6003 flow 132235 "<flow>"
6004 on activityaction_ref 128651 // activity action win = true
6010 package_ref 128002 // GUI
6012 package_ref 128130 // Network
6014 package_ref 128258 // Core
6016 package_ref 128386 // AI