Merge branch 'master' of git+ssh://PesaMac@repo.or.cz/srv/git/GoMoku3D
[GoMoku3D.git] / class_diagram / class_diagram.prj
blob4952094503613183eea2969ce7d55684c7d6c3e6
1 format 49
2 "class_diagram"
3   revision 75
4   modified_by 83 "nico-kde4"
7   
8   // class settings
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
32   
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 
34   font_size 9
35   diagram_format A3
37   mark_for_import
38   
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
51     //class settings
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
57       size A3
58     end
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
62       size A3
63     end
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
67       size A3
68     end
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
72       size A3
73     end
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
77       size A4
78     end
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
82       size A3
83     end
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
87       size A3
88     end
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
92       size A3
93     end
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
97       size A3
98     end
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
102       size A3
103     end
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
107       size A3
108     end
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
112       size A3
113     end
115     class 128019 "QMainWindow"
116       visibility package 
117       cpp_decl ""
118       java_decl ""
119       php_decl ""
120       idl_decl ""
121       explicit_switch_type ""
122       
123     end
125     class 128533 "QWidget"
126       visibility package 
127       cpp_decl ""
128       java_decl ""
129       php_decl ""
130       idl_decl ""
131       explicit_switch_type ""
132       
133     end
135     class 128917 "MainWindow"
136       visibility package 
137       cpp_decl ""
138       java_decl ""
139       php_decl ""
140       idl_decl ""
141       explicit_switch_type ""
142       
143       classrelation 128019 // <generalisation>
144         relation 128019 ---|>
145           a public
146             classrelation_ref 128019 // <generalisation>
147           b parent class_ref 128019 // QMainWindow
148       end
150       attribute 129301 "_loop"
151         private type class_ref 130325 // GameLoop
152         cpp_decl ""
153         java_decl ""
154         php_decl ""
155         idl_decl ""
156       end
158       attribute 129173 "_net"
159         private type class_ref 130069 // Network
160         cpp_decl ""
161         java_decl ""
162         php_decl ""
163         idl_decl ""
164       end
166       attribute 129429 "_settings"
167         private type class_ref 130453 // SettingsManager
168         cpp_decl ""
169         java_decl ""
170         php_decl ""
171         idl_decl ""
172       end
174       attribute 128040 "_playersInfo"
175         private explicit_type "QList<PlayerInfo>"
176         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
178         java_decl ""
179         php_decl ""
180         idl_decl ""
181       end
183       attribute 128637 "_suggester"
184         private type class_ref 129720 // Suggester
185         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
187         java_decl ""
188         php_decl ""
189         idl_decl ""
190       end
192       attribute 128149 "_render"
193         private type class_ref 128661 // RenderWidget
194         cpp_decl ""
195         java_decl ""
196         php_decl ""
197         idl_decl ""
198       end
200       attribute 128277 "_chat"
201         private type class_ref 128789 // ChatWidget
202         cpp_decl ""
203         java_decl ""
204         php_decl ""
205         idl_decl ""
206       end
208       attribute 129976 "_history"
209         private type class_ref 129848 // HistoryModel
210         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
212         java_decl ""
213         php_decl ""
214         idl_decl ""
215       end
217       attribute 129848 "_timer"
218         private type class_ref 128381 // TimerWidget
219         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
221         java_decl ""
222         php_decl ""
223         idl_decl ""
224       end
226       attribute 128381 "_playersWidget"
227         private type class_ref 129021 // PlayersWidget
228         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
230         java_decl ""
231         php_decl ""
232         idl_decl ""
233       end
235       attribute 128188 "_historyView"
236         private type class_ref 128893 // QTableView
237         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
239         java_decl ""
240         php_decl ""
241         idl_decl ""
242       end
244       operation 128175 "loadGame"
245         public explicit_return_type "bool"
246         nparams 1
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}{
251   ${body}}
253         
254         
255         
256       end
258       operation 128047 "saveGame"
259         public explicit_return_type "bool"
260         nparams 1
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}{
265   ${body}}
267         
268         
269         
270       end
272       classrelation 128917 // <directional composition>
273         relation 128917 *-->
274           a role_name "" multiplicity "0..1" protected
275             classrelation_ref 128917 // <directional composition>
276           b parent class_ref 128789 // ChatWidget
277       end
279       classrelation 129045 // <directional composition>
280         relation 129045 *-->
281           a role_name "" multiplicity "0..1" protected
282             classrelation_ref 129045 // <directional composition>
283           b parent class_ref 128661 // RenderWidget
284       end
286       classrelation 128440 // <directional composition>
287         relation 128440 *-->
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
293       end
295       classrelation 128568 // <directional composition>
296         relation 128568 *-->
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
302       end
304       classrelation 128264 // <directional composition>
305         relation 128264 *-->
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
311       end
313       classrelation 128262 // <directional composition>
314         relation 128262 *-->
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
320       end
322       operation 128392 "turn"
323         stereotype "slot"
324         public explicit_return_type "void"
325         nparams 1
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}{
330   ${body}}
332         
333         
334         
335       end
337       operation 128361 "drawMove"
338         stereotype "slot"
339         public explicit_return_type "void"
340         nparams 1
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}{
345   ${body}}
347         
348         
349         
350         comment "invoca RenderWidget::drawMove e se questa chiamata ritorna false messaggio all'utente e sara su tutto"
351       end
353       operation 128060 "undoMoves"
354         stereotype "slot"
355         public explicit_return_type "void"
356         nparams 1
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}{
361   ${body}}
363         
364         
365         
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)
373       end
375       operation 128700 "showPastGameStatus"
376         stereotype "slot"
377         public explicit_return_type "void"
378         nparams 1
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}{
383   ${body}}
385         
386         
387         
388         comment "vedi pesablock, Ã¨ il gestore dell'evento history::clicked"
389       end
391       classrelation 130744 // <directional composition>
392         relation 130744 *-->
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
398       end
400       classrelation 129533 // <directional composition>
401         relation 129533 *-->
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
407       end
409       classrelation 128316 // <directional composition>
410         relation 128316 *-->
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
416       end
418       classrelation 128572 // <directional composition>
419         relation 128572 *-->
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
425       end
427       classrelation 128700 // <directional composition>
428         relation 128700 *-->
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
434       end
436       classrelation 128054 // <unidirectional association>
437         relation 128054 --->
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
443       end
445       operation 129206 "newStandAloneGame"
446         stereotype "slot"
447         public explicit_return_type "void"
448         nparams 0
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}{
452   ${body}}
454         
455         
456         
457       end
459       operation 128020 "playerWin"
460         stereotype "slot"
461         public explicit_return_type "void"
462         nparams 1
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}{
467   ${body}}
469         
470         
471         
472       end
474       operation 128276 "playersDraw"
475         stereotype "slot"
476         public explicit_return_type "void"
477         nparams 1
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}{
482   ${body}}
484         
485         
486         
487       end
489       operation 130360 "forceMove"
490         stereotype "signal"
491         protected explicit_return_type "void"
492         nparams 0
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}{
496   ${body}}
498         
499         
500         
501       end
503       classrelation 128467 // <dependency>
504         relation 128467 -_->
505           a default
506             cpp default "#include in source"
507             classrelation_ref 128467 // <dependency>
508           b parent class_ref 128467 // StandAloneDialog
509       end
511       classrelation 128723 // <dependency>
512         relation 128723 -_->
513           a default
514             cpp default "#include in source"
515             classrelation_ref 128723 // <dependency>
516           b parent class_ref 128723 // ServSetDialog
517       end
518     end
520     class 128661 "RenderWidget"
521       visibility package 
522       cpp_decl "${comment}${template}class ${name}${inherit} {
523 ${members}};
524 ${inlines}
526       java_decl ""
527       php_decl ""
528       idl_decl ""
529       explicit_switch_type ""
530       
531       associated_diagram classdiagram_ref 128021 // Global
532       classrelation 128277 // <generalisation>
533         relation 128277 ---|>
534           a public
535             classrelation_ref 128277 // <generalisation>
536           b parent class_ref 128533 // QWidget
537       end
539       attribute 128060 "DefaultCubeColor"
540         class_attribute const_attribute public type class_ref 128253 // QColor
541         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
543         java_decl ""
544         php_decl ""
545         idl_decl ""
546       end
548       attribute 129226 "DefaultShape"
549         class_attribute public explicit_type "bool"
550         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
552         java_decl ""
553         php_decl ""
554         idl_decl ""
555         comment "indica la forma che avranno le caselle..0 se cubi, 1 se sfere"
556       end
558       attribute 128107 "_renderArea"
559         private type class_ref 128099 // CubeRenderArea
560         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
562         java_decl ""
563         php_decl ""
564         idl_decl ""
565       end
567       operation 128105 "RenderWidget"
568         public explicit_return_type ""
569         nparams 1
570           param in name "dim" explicit_type "int"
571         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
573         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
574   ${body}}
576         
577         
578         
579       end
581       operation 129385 "acceptMove"
582         public explicit_return_type "void"
583         nparams 1
584           param in name "value" explicit_type "bool"
585         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
587         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
588   ${body}}
590         
591         
592         
593       end
595       operation 128824 "drawMove"
596         public explicit_return_type "bool"
597         nparams 2
598           param in name "point" type class_ref 129173 // Point
599           param in name "color" type class_ref 128253 // QColor
600         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
602         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
603   ${body}}
605         
606         
607         
608         comment "true se la mossa Ã¨ valida altrimenti false
609 chiama il metodo statico di GameMatrix per sapere se la mossa Ã¨ valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
610       end
612       operation 128828 "uncheckedDraw"
613         public explicit_return_type "void"
614         nparams 2
615           param in name "pointList" explicit_type "QList<Point>"
616           param in name "colorList" explicit_type "QList<QColor>"
617             defaultvalue "0"
618         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
620         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
621   ${body}}
623         
624         
625         
626         comment "se colorList==0 allora usa defaultCubeColor"
627       end
629       operation 128099 "setAntiAliasing"
630         public explicit_return_type "void"
631         nparams 1
632           param in name "value" explicit_type "int"
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}{
636   ${body}}
638         
639         
640         
641         comment "controlla l'accumulation buffer e setta l'antialiasing"
642       end
644       operation 131000 "highlightSuggested"
645         stereotype "slot"
646         public explicit_return_type "void"
647         nparams 1
648           param in name "point" type class_ref 129173 // Point
649         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
651         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
652   ${body}}
654         
655         
656         
657         comment "chiama la selectCube di CubeRenderArea"
658       end
660       classrelation 128099 // <directional composition>
661         relation 128099 *-->
662           a role_name "" multiplicity "0..1" protected
663             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
665             classrelation_ref 128099 // <directional composition>
666           b parent class_ref 128099 // CubeRenderArea
667       end
668     end
670     class 128789 "ChatWidget"
671       visibility package 
672       cpp_decl ""
673       java_decl ""
674       php_decl ""
675       idl_decl ""
676       explicit_switch_type ""
677       
678       operation 128235 "displayText"
679         stereotype "slot"
680         public explicit_return_type "void"
681         nparams 1
682           param in name "text" type class_ref 128440 // QString
683         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
685         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
686   ${body}}
688         
689         
690         
691       end
693       operation 128107 "textEntered"
694         stereotype "signal"
695         protected explicit_return_type "void"
696         nparams 1
697           param in name "text" type class_ref 128440 // QString
698         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
700         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
701   ${body}}
703         
704         
705         
706       end
708       classrelation 128122 // <generalisation>
709         relation 128122 ---|>
710           a public
711             cpp default "${type}"
712             classrelation_ref 128122 // <generalisation>
713           b parent class_ref 128533 // QWidget
714       end
716       operation 128211 "return"
717         stereotype "<<slot>>"
718         public explicit_return_type "void"
719         nparams 0
720         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
722         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
723   ${body}}
725         
726         
727         
728       end
730       classrelation 128083 // <generalisation>
731         relation 128083 ---|>
732           a public
733             cpp default "${type}"
734             classrelation_ref 128083 // <generalisation>
735           b parent class_ref 128083 // Ui_chatw
736       end
737     end
739     class 129045 "Player"
740       abstract visibility package 
741       cpp_decl ""
742       java_decl ""
743       php_decl ""
744       idl_decl ""
745       explicit_switch_type ""
746       
747       operation 128617 "Player"
748         public explicit_return_type ""
749         nparams 1
750           param in name "id" explicit_type "int"
751         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
753         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
754   ${body}}
756         
757         
758         
759       end
761       attribute 128168 "_id"
762         const_attribute private explicit_type "int"
763         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
765         java_decl ""
766         php_decl ""
767         idl_decl ""
768       end
770       operation 128040 "id"
771         const public explicit_return_type "int"
772         nparams 0
773         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
775         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
776   ${body}}
778         
779         
780         
781       end
783       operation 128184 "move"
784         public return_type class_ref 129301 // Move
785         nparams 0
786         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
788         
789         
790         
791       end
793       operation 129155 "doMove"
794         abstract cpp_virtual protected return_type class_ref 129173 // Point
795         nparams 0
796         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
798         
799         
800         
801       end
802     end
804     class 129173 "Point"
805       visibility package 
806       cpp_decl ""
807       java_decl ""
808       php_decl ""
809       idl_decl ""
810       explicit_switch_type ""
811       
812       attribute 128184 "_x"
813         private explicit_type "int"
814         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
816         java_decl ""
817         php_decl ""
818         idl_decl ""
819       end
821       attribute 128312 "_y"
822         private explicit_type "int"
823         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
825         java_decl ""
826         php_decl ""
827         idl_decl ""
828       end
830       attribute 128440 "_z"
831         private explicit_type "int"
832         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
834         java_decl ""
835         php_decl ""
836         idl_decl ""
837       end
839       operation 128875 "Point"
840         public explicit_return_type ""
841         nparams 3
842           param in name "x" explicit_type "int"
843           param in name "y" explicit_type "int"
844           param in name "z" explicit_type "int"
845         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
847         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
848   ${body}}
850         
851         
852         
853       end
855       operation 128378 "isValid"
856         const public explicit_return_type "bool"
857         nparams 0
858         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
860         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
861   ${body}}
863         
864         
865         
866         comment "return true sse il Point this Ã¨ minore della dimensione di GameMatrix."
867       end
869       operation 129282 "isNull"
870         public explicit_return_type "bool"
871         nparams 0
872         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
874         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
875   ${body}}
877         
878         
879         
880         comment "return true iff this == (-1, -1, -1)
881 else return false"
882       end
883     end
885     class 129301 "Move"
886       visibility package 
887       cpp_decl ""
888       java_decl ""
889       php_decl ""
890       idl_decl ""
891       explicit_switch_type ""
892       
893       classrelation 129173 // <directional composition>
894         relation 129173 *-->
895           a role_name "" protected
896             classrelation_ref 129173 // <directional composition>
897           b parent class_ref 129173 // Point
898       end
900       attribute 128405 "_playerId"
901         private explicit_type "int"
902         cpp_decl ""
903         java_decl ""
904         php_decl ""
905         idl_decl ""
906       end
908       attribute 128533 "_coord"
909         private type class_ref 129173 // Point
910         cpp_decl ""
911         java_decl ""
912         php_decl ""
913         idl_decl ""
914       end
916       operation 129641 "Move"
917         public explicit_return_type ""
918         nparams 2
919           param in name "id" explicit_type "int"
920           param in name "p" type class_ref 129173 // Point
921         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
923         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
924   ${body}}
926         
927         
928         
929       end
931       operation 128250 "isValid"
932         const public explicit_return_type "bool"
933         nparams 0
934         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
936         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
937   ${body}}
939         
940         
941         
942         comment "return GameMatrix::check(this._coord);"
943       end
944     end
946     class 129557 "GameMatrix"
947       visibility package 
948       cpp_decl ""
949       java_decl ""
950       php_decl ""
951       idl_decl ""
952       explicit_switch_type ""
953       
954       comment "istanziata da MainWindow e passata poi a GameLoop"
955       attribute 128042 "EmptyPoint"
956         class_attribute const_attribute public explicit_type "int"
957         init_value "-1"
958         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
960         java_decl ""
961         php_decl ""
962         idl_decl ""
963       end
965       attribute 128084 "_instance"
966         class_attribute private type class_ref 129557 // GameMatrix
967         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
969         java_decl ""
970         php_decl ""
971         idl_decl ""
972       end
974       attribute 128873 "_lastRound"
975         private explicit_type "QList<Point>"
976         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
978         java_decl ""
979         php_decl ""
980         idl_decl ""
981         comment "/buffer delle ultime mosse da rivedere"
982       end
984       attribute 129129 "_d1"
985         private explicit_type "int"
986         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
988         java_decl ""
989         php_decl ""
990         idl_decl ""
991       end
993       attribute 129257 "_d2"
994         private explicit_type "int"
995         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
997         java_decl ""
998         php_decl ""
999         idl_decl ""
1000       end
1002       attribute 128148 "_freeCounter"
1003         private explicit_type "int"
1004         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1006         java_decl ""
1007         php_decl ""
1008         idl_decl ""
1009       end
1011       operation 130104 "GameMatrix"
1012         private explicit_return_type ""
1013         nparams 3
1014           param in name "d1" explicit_type "int"
1015           param in name "d2" explicit_type "int"
1016           param in name "numPlayers" explicit_type "int"
1017         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1019         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1020   ${body}}
1022         
1023         
1024         
1025       end
1027       operation 129166 "create"
1028         class_operation public explicit_return_type "GameMatrix*"
1029         nparams 3
1030           param in name "d1" explicit_type "int"
1031           param in name "d2" explicit_type "int"
1032           param in name "numPlayers" explicit_type "int"
1033         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1035         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1036   ${body}}
1038         
1039         
1040         
1041       end
1043       operation 129294 "destroy"
1044         class_operation public explicit_return_type "void"
1045         nparams 0
1046         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1048         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1049   ${body}}
1051         
1052         
1053         
1054       end
1056       operation 129620 "instance"
1057         class_operation public explicit_return_type "GameMatrix*"
1058         nparams 0
1059         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1061         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1062   ${body}}
1064         
1065         
1066         
1067       end
1069       operation 129513 "add"
1070         public explicit_return_type "bool"
1071         nparams 1
1072           param in name "move" type class_ref 129301 // Move
1073         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1075         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1076   ${body}}
1078         
1079         
1080         
1081         comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1082       end
1084       operation 128554 "clear"
1085         public explicit_return_type "void"
1086         nparams 1
1087           param in name "point" type class_ref 129173 // Point
1088         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1090         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1091   ${body}}
1093         
1094         
1095         
1096       end
1098       operation 129748 "check"
1099         class_operation public explicit_return_type "bool"
1100         nparams 1
1101           param in name "point" type class_ref 129173 // Point
1102         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1104         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1105   ${body}}
1107         
1108         
1109         
1110       end
1112       operation 130952 "elementAt"
1113         public explicit_return_type "int"
1114         nparams 1
1115           param in name "point" type class_ref 129173 // Point
1116         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1118         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1119   ${body}}
1121         
1122         
1123         
1124       end
1126       operation 131080 "elementAt"
1127         public explicit_return_type "int"
1128         nparams 3
1129           param in name "x" explicit_type "int"
1130           param in name "y" explicit_type "int"
1131           param in name "z" explicit_type "int"
1132         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1134         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1135   ${body}}
1137         
1138         
1139         
1140       end
1142       operation 128404 "isFull"
1143         const public explicit_return_type "bool"
1144         nparams 0
1145         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1147         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1148   ${body}}
1150         
1151         
1152         
1153       end
1155       operation 130232 "numberOfPlayers"
1156         public explicit_return_type "int"
1157         nparams 0
1158         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1160         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1161   ${body}}
1163         
1164         
1165         
1166         comment "lastRound.size()"
1167       end
1169       operation 128188 "setLastRound"
1170         public explicit_return_type "void"
1171         nparams 1
1172           param in name "round" explicit_type "QList<Point>"
1173         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1175         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1176   ${body}}
1178         
1179         
1180         
1181       end
1183       attribute 128083 "_matrix"
1184         private explicit_type "int*"
1185         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1187         java_decl ""
1188         php_decl ""
1189         idl_decl ""
1190       end
1192       operation 128011 "extractCC"
1193         private explicit_return_type "void"
1194         nparams 3
1195           param in name "p" type class_ref 129173 // Point
1196           param in name "id" explicit_type "int"
1197           param inout name "set" explicit_type "QSet<Point>"
1198         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1200         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1201   ${body}}
1203         
1204         
1205         
1206       end
1207     end
1209     class 129813 "QWaitCondition"
1210       visibility package 
1211       cpp_decl ""
1212       java_decl ""
1213       php_decl ""
1214       idl_decl ""
1215       explicit_switch_type ""
1216       
1217       operation 130025 "wait"
1218         public explicit_return_type "bool"
1219         nparams 2
1220           param in name "lock" type class_ref 130837 // QMutex
1221           param in name "timeout" explicit_type "unsigned long"
1222         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1224         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1225   ${body}}
1227         
1228         
1229         
1230       end
1232       operation 130153 "wakeOne"
1233         public explicit_return_type "void"
1234         nparams 0
1235         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1237         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1238   ${body}}
1240         
1241         
1242         
1243       end
1244     end
1246     class 129941 "AI"
1247       abstract visibility package 
1248       cpp_decl ""
1249       java_decl ""
1250       php_decl ""
1251       idl_decl ""
1252       explicit_switch_type ""
1253       
1254       attribute 128296 "_playerId"
1255         const_attribute private explicit_type "int"
1256         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1258         java_decl ""
1259         php_decl ""
1260         idl_decl ""
1261       end
1263       operation 128084 "AI"
1264         public explicit_return_type ""
1265         nparams 1
1266           param in name "id" explicit_type "int"
1267         
1268         
1269         
1270         
1271       end
1273       operation 128078 "~AI"
1274         cpp_virtual public explicit_return_type ""
1275         nparams 0
1276         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1278         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1279   ${body}}
1281         
1282         
1283         
1284       end
1286       operation 128212 "move"
1287         abstract cpp_virtual public return_type class_ref 129173 // Point
1288         nparams 1
1289           param in name "level" explicit_type "int"
1290         
1291         
1292         
1293         
1294       end
1296       operation 129976 "forceMove"
1297         abstract cpp_virtual public explicit_return_type "void"
1298         nparams 0
1299         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1301         
1302         
1303         
1304       end
1306       operation 130819 "movesUndone"
1307         abstract cpp_virtual public explicit_return_type "void"
1308         nparams 0
1309         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1311         
1312         
1313         
1314       end
1316       operation 130691 "playerId"
1317         public explicit_return_type "int"
1318         nparams 0
1319         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1321         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1322   ${body}}
1324         
1325         
1326         
1327       end
1328     end
1330     class 130069 "Network"
1331       abstract visibility package 
1332       cpp_decl ""
1333       java_decl ""
1334       php_decl ""
1335       idl_decl ""
1336       explicit_switch_type ""
1337       
1338       operation 129980 "Network"
1339         public explicit_return_type ""
1340         nparams 1
1341           param in name "gui" type class_ref 128533 // QWidget
1342         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1344         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1345   ${body}}
1347         
1348         
1349         
1350       end
1352       operation 129395 "~Network"
1353         cpp_virtual public explicit_return_type ""
1354         nparams 0
1355         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1357         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1358   ${body}}
1360         
1361         
1362         
1363       end
1365       operation 128122 "requestMove"
1366         abstract cpp_virtual public return_type class_ref 129173 // Point
1367         nparams 0
1368         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1370         
1371         
1372         
1373       end
1375       attribute 129340 "_gui"
1376         private type class_ref 128533 // QWidget
1377         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1379         java_decl ""
1380         php_decl ""
1381         idl_decl ""
1382       end
1384       operation 129168 "setupChat"
1385         abstract cpp_virtual public explicit_return_type "void"
1386         nparams 1
1387           param in name "widget" type class_ref 128789 // ChatWidget
1388         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1390         
1391         
1392         
1393       end
1394     end
1396     class 130197 "QThread"
1397       abstract visibility package 
1398       cpp_decl ""
1399       java_decl ""
1400       php_decl ""
1401       idl_decl ""
1402       explicit_switch_type ""
1403       
1404       operation 128319 "start"
1405         public explicit_return_type "void"
1406         nparams 0
1407         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1409         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1410   ${body}}
1412         
1413         
1414         
1415       end
1417       operation 128393 "run"
1418         abstract cpp_virtual protected explicit_return_type "void"
1419         nparams 0
1420         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1422         
1423         
1424         
1425       end
1426     end
1428     class 130325 "GameLoop"
1429       visibility package 
1430       cpp_decl ""
1431       java_decl ""
1432       php_decl ""
1433       idl_decl ""
1434       explicit_switch_type ""
1435       
1436       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."
1437       classrelation 130069 // <realization>
1438         relation 130069 -_-|>
1439           a public
1440             classrelation_ref 130069 // <realization>
1441           b parent class_ref 130197 // QThread
1442       end
1444       attribute 129592 "_currentPlayer"
1445         private type class_ref 129045 // Player
1446         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1448         java_decl ""
1449         php_decl ""
1450         idl_decl ""
1451         comment "mantenuto consistente per poter effettuare la forceMove()"
1452       end
1454       attribute 128264 "_players"
1455         private explicit_type "QList<Player>"
1456         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1458         java_decl ""
1459         php_decl ""
1460         idl_decl ""
1461       end
1463       attribute 128020 "_winStatus"
1464         private explicit_type "QList<bool>"
1465         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1467         java_decl ""
1468         php_decl ""
1469         idl_decl ""
1470         comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1471       end
1473       operation 128054 "GameLoop"
1474         public explicit_return_type ""
1475         nparams 1
1476           param in name "players" explicit_type "QList<Player>"
1477         cpp_decl "    ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1479         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1480   ${body}}
1482         
1483         
1484         
1485       end
1487       operation 128520 "run"
1488         protected explicit_return_type "void"
1489         nparams 0
1490         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1492         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1493   ${body}}
1495         
1496         
1497         
1498       end
1500       operation 128316 "setTurn"
1501         public explicit_return_type "void"
1502         nparams 1
1503           param in name "id" explicit_type "int"
1504         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1506         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1507   ${body}}
1509         
1510         
1511         
1512       end
1514       operation 130488 "forceMove"
1515         stereotype "slot"
1516         public explicit_return_type "void"
1517         nparams 0
1518         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1520         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1521   ${body}}
1523         
1524         
1525         
1526       end
1528       operation 128233 "moved"
1529         stereotype "signal"
1530         protected explicit_return_type "void"
1531         nparams 1
1532           param in name "move" type class_ref 129301 // Move
1533         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1535         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1536   ${body}}
1538         
1539         
1540         
1541       end
1543       operation 128264 "turn"
1544         stereotype "signal"
1545         protected explicit_return_type "void"
1546         nparams 1
1547           param in name "playerId" explicit_type "int"
1548         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1550         
1551         
1552         
1553       end
1555       operation 128148 "win"
1556         stereotype "signal"
1557         protected explicit_return_type "void"
1558         nparams 1
1559           param in name "playerId" explicit_type "int"
1560         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1562         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1563   ${body}}
1565         
1566         
1567         
1568       end
1570       operation 128532 "draw"
1571         stereotype "signal"
1572         protected explicit_return_type "void"
1573         nparams 1
1574           param in name "playersIds" explicit_type "QList<int>"
1575         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1577         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1578   ${body}}
1580         
1581         
1582         
1583       end
1585       classrelation 128042 // <directional composition>
1586         relation 128042 *-->
1587           a role_name "" multiplicity "2..3" protected
1588             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1590             classrelation_ref 128042 // <directional composition>
1591           b parent class_ref 129045 // Player
1592       end
1594       classrelation 129980 // <unidirectional association>
1595         relation 129980 --->
1596           a role_name "" protected
1597             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1599             classrelation_ref 129980 // <unidirectional association>
1600           b parent class_ref 129557 // GameMatrix
1601       end
1602     end
1604     class 130709 "SyncSharedCondition"
1605       visibility package 
1606       cpp_decl ""
1607       java_decl ""
1608       php_decl ""
1609       idl_decl ""
1610       explicit_switch_type ""
1611       
1612       attribute 128063 "_instance"
1613         class_attribute private type class_ref 130709 // SyncSharedCondition
1614         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1616         java_decl ""
1617         php_decl ""
1618         idl_decl ""
1619       end
1621       attribute 128105 "_point"
1622         private type class_ref 129173 // Point
1623         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1625         java_decl ""
1626         php_decl ""
1627         idl_decl ""
1628       end
1630       attribute 129557 "_waitCond"
1631         private type class_ref 129813 // QWaitCondition
1632         cpp_decl ""
1633         java_decl ""
1634         php_decl ""
1635         idl_decl ""
1636       end
1638       operation 128191 "SyncSharedCondition"
1639         private explicit_return_type ""
1640         nparams 0
1641         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1643         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1644   ${body}}
1646         
1647         
1648         
1649       end
1651       operation 128063 "instance"
1652         class_operation public return_type class_ref 130709 // SyncSharedCondition
1653         nparams 0
1654         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1656         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1657   ${body}}
1659         
1660         
1661         
1662       end
1664       operation 129129 "waitForMove"
1665         public return_type class_ref 129173 // Point
1666         nparams 0
1667         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1669         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1670   ${body}}
1672         
1673         
1674         
1675       end
1677       operation 129257 "notifyMove"
1678         public explicit_return_type "void"
1679         nparams 1
1680           param in name "p" type class_ref 129173 // Point
1681         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1683         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1684   ${body}}
1686         
1687         
1688         
1689       end
1691       classrelation 128105 // <generalisation>
1692         relation 128105 ---|>
1693           a public
1694             cpp default "${type}"
1695             classrelation_ref 128105 // <generalisation>
1696           b parent class_ref 130837 // QMutex
1697       end
1699       classrelation 128168 // <directional composition>
1700         relation 128168 *-->
1701           a role_name "" protected
1702             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1704             classrelation_ref 128168 // <directional composition>
1705           b parent class_ref 129813 // QWaitCondition
1706       end
1707     end
1709     class 130837 "QMutex"
1710       visibility package 
1711       cpp_decl ""
1712       java_decl ""
1713       php_decl ""
1714       idl_decl ""
1715       explicit_switch_type ""
1716       
1717       operation 129769 "lock"
1718         public explicit_return_type "void"
1719         nparams 0
1720         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1722         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1723   ${body}}
1725         
1726         
1727         
1728       end
1730       operation 129897 "unlock"
1731         public explicit_return_type "void"
1732         nparams 0
1733         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1735         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1736   ${body}}
1738         
1739         
1740         
1741       end
1742     end
1744     class 128056 "HumanPlayer"
1745       visibility package 
1746       cpp_decl "${comment}${template}class ${name}${inherit} {
1747 ${members}};
1748 ${inlines}
1750       java_decl ""
1751       php_decl ""
1752       idl_decl ""
1753       explicit_switch_type ""
1754       
1755       operation 128745 "HumanPlayer"
1756         public explicit_return_type ""
1757         nparams 2
1758           param in name "id" explicit_type "int"
1759           param in name "render" type class_ref 128661 // RenderWidget
1760         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1762         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1763   ${body}}
1765         
1766         
1767         
1768       end
1770       operation 129283 "doMove"
1771         cpp_virtual protected return_type class_ref 129173 // Point
1772         nparams 0
1773         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1775         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1776   ${body}}
1778         
1779         
1780         
1781       end
1783       attribute 128233 "_render"
1784         private type class_ref 128661 // RenderWidget
1785         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1787         java_decl ""
1788         php_decl ""
1789         idl_decl ""
1790       end
1792       classrelation 128361 // <realization>
1793         relation 128361 -_-|>
1794           a public
1795             cpp default "${type}"
1796             classrelation_ref 128361 // <realization>
1797           b parent class_ref 129045 // Player
1798       end
1799     end
1801     class 128184 "RemotePlayer"
1802       visibility package 
1803       cpp_decl "${comment}${template}class ${name}${inherit} {
1804 ${members}};
1805 ${inlines}
1807       java_decl ""
1808       php_decl ""
1809       idl_decl ""
1810       explicit_switch_type ""
1811       
1812       operation 128873 "RemotePlayer"
1813         public explicit_return_type ""
1814         nparams 2
1815           param in name "id" explicit_type "int"
1816           param in name "net" type class_ref 130069 // Network
1817         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1819         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1820   ${body}}
1822         
1823         
1824         
1825       end
1827       operation 129411 "doMove"
1828         cpp_virtual protected return_type class_ref 129173 // Point
1829         nparams 0
1830         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1832         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1833   ${body}}
1835         
1836         
1837         
1838       end
1840       attribute 128361 "_net"
1841         private type class_ref 130069 // Network
1842         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1844         java_decl ""
1845         php_decl ""
1846         idl_decl ""
1847       end
1849       classrelation 128489 // <realization>
1850         relation 128489 -_-|>
1851           a public
1852             cpp default "${type}"
1853             classrelation_ref 128489 // <realization>
1854           b parent class_ref 129045 // Player
1855       end
1856     end
1858     class 128312 "AIPlayer"
1859       visibility package 
1860       cpp_decl "${comment}${template}class ${name}${inherit} {
1861 ${members}};
1862 ${inlines}
1864       java_decl ""
1865       php_decl ""
1866       idl_decl ""
1867       explicit_switch_type ""
1868       
1869       classrelation 128617 // <realization>
1870         relation 128617 -_-|>
1871           a public
1872             cpp default "${type}"
1873             classrelation_ref 128617 // <realization>
1874           b parent class_ref 129045 // Player
1875       end
1877       classrelation 128216 // <directional composition>
1878         relation 128216 *-->
1879           a role_name "" protected
1880             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1882             classrelation_ref 128216 // <directional composition>
1883           b parent class_ref 129941 // AI
1884       end
1886       attribute 128386 "_DefaultSkill"
1887         class_attribute const_attribute private explicit_type "int"
1888         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1890         java_decl ""
1891         php_decl ""
1892         idl_decl ""
1893       end
1895       attribute 128258 "_skill"
1896         private explicit_type "int"
1897         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1899         java_decl ""
1900         php_decl ""
1901         idl_decl ""
1902       end
1904       attribute 128216 "_ai"
1905         private type class_ref 129941 // AI
1906         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1908         java_decl ""
1909         php_decl ""
1910         idl_decl ""
1911       end
1913       operation 129001 "AIPlayer"
1914         public explicit_return_type ""
1915         nparams 1
1916           param in name "id" explicit_type "int"
1917         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1919         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1920   ${body}}
1922         
1923         
1924         
1925         comment "inizializza skill con la costante di classe DefaultSkill"
1926       end
1928       operation 129539 "doMove"
1929         cpp_virtual protected return_type class_ref 129173 // Point
1930         nparams 0
1931         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1933         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1934   ${body}}
1936         
1937         
1938         
1939       end
1941       operation 129410 "forceMove"
1942         public explicit_return_type "void"
1943         nparams 0
1944         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1946         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1947   ${body}}
1949         
1950         
1951         
1952       end
1954       operation 128002 "skill"
1955         const public explicit_return_type "int"
1956         nparams 0
1957         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1959         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1960   ${body}}
1962         
1963         
1964         
1965       end
1967       operation 128130 "setSkill"
1968         public explicit_return_type "void"
1969         nparams 1
1970           param in name "skill" explicit_type "int"
1971         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1973         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1974   ${body}}
1976         
1977         
1978         
1979       end
1981       operation 130704 "undoMove"
1982         stereotype "slot"
1983         public explicit_return_type "void"
1984         nparams 0
1985         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1987         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1988   ${body}}
1990         
1991         
1992         
1993       end
1994     end
1996     class 129720 "Suggester"
1997       visibility package 
1998       cpp_decl "${comment}${template}class ${name}${inherit} {
1999 ${members}};
2000 ${inlines}
2002       java_decl ""
2003       php_decl ""
2004       idl_decl ""
2005       explicit_switch_type ""
2006       
2007       classrelation 130616 // <realization>
2008         relation 130616 -_-|>
2009           a public
2010             cpp default "${type}"
2011             classrelation_ref 130616 // <realization>
2012           b parent class_ref 130197 // QThread
2013       end
2015       attribute 128130 "_SuggestedMoveLevel"
2016         class_attribute const_attribute private explicit_type "int"
2017         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2019         java_decl ""
2020         php_decl ""
2021         idl_decl ""
2022       end
2024       attribute 128088 "_ai"
2025         private type class_ref 129941 // AI
2026         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2028         java_decl ""
2029         php_decl ""
2030         idl_decl ""
2031       end
2033       operation 130744 "Suggester"
2034         public explicit_return_type ""
2035         nparams 1
2036           param in name "id" explicit_type "int"
2037         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2039         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2040   ${body}}
2042         
2043         
2044         
2045       end
2047       operation 128010 "~Suggester"
2048         public explicit_return_type ""
2049         nparams 0
2050         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2052         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2053   ${body}}
2055         
2056         
2057         
2058       end
2060       operation 128056 "suggestMove"
2061         public return_type class_ref 129173 // Point
2062         nparams 0
2063         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2065         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2066   ${body}}
2068         
2069         
2070         
2071       end
2073       operation 130616 "run"
2074         protected explicit_return_type "void"
2075         nparams 0
2076         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2078         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2079   ${body}}
2081         
2082         
2083         
2084       end
2086       operation 130872 "suggestedMoveReady"
2087         stereotype "signal"
2088         protected explicit_return_type "void"
2089         nparams 1
2090           param in name "point" type class_ref 129173 // Point
2091         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2093         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2094   ${body}}
2096         
2097         
2098         
2099       end
2101       classrelation 128088 // <directional composition>
2102         relation 128088 *-->
2103           a role_name "" protected
2104             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2106             classrelation_ref 128088 // <directional composition>
2107           b parent class_ref 129941 // AI
2108       end
2109     end
2111     class 129848 "HistoryModel"
2112       visibility package 
2113       cpp_decl "${comment}${template}class ${name}${inherit} {
2114 ${members}};
2115 ${inlines}
2117       java_decl ""
2118       php_decl ""
2119       idl_decl ""
2120       explicit_switch_type ""
2121       
2122       classrelation 128637 // <realization>
2123         relation 128637 -_-|>
2124           a public
2125             cpp default "${type}"
2126             classrelation_ref 128637 // <realization>
2127           b parent class_ref 128509 // QAbstractTableModel
2128       end
2130       attribute 130104 "_history"
2131         private explicit_type "QList<Move>"
2132         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2134         java_decl ""
2135         php_decl ""
2136         idl_decl ""
2137       end
2139       operation 128765 "columnCount"
2140         const cpp_virtual public explicit_return_type "int"
2141         nparams 1
2142           param in name "parent" explicit_type "QModelIndex"
2143         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2145         
2146         
2147         
2148       end
2150       operation 128637 "rowCount"
2151         const cpp_virtual public explicit_return_type "int"
2152         nparams 1
2153           param in name "parent" explicit_type "QModelIndex"
2154         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2156         
2157         
2158         
2159       end
2161       operation 128509 "data"
2162         const cpp_virtual public explicit_return_type "QVariant"
2163         nparams 2
2164           param in name "index" explicit_type "QModelIndex"
2165           param in name "role" explicit_type "int"
2166             defaultvalue "Qt::DisplayRole"
2167         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2169         
2170         
2171         
2172       end
2174       operation 128893 "flags"
2175         const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2176         nparams 1
2177           param in name "index" explicit_type "QModelIndex"
2178         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2180         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2181   ${body}}
2183         
2184         
2185         
2186       end
2188       operation 129021 "headerData"
2189         const cpp_virtual public explicit_return_type "QVariant"
2190         nparams 3
2191           param in name "section" explicit_type "int"
2192           param in name "orientation" explicit_type "Qt::Orientation"
2193           param in name "role" explicit_type "int"
2194         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2196         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2197   ${body}}
2199         
2200         
2201         
2202       end
2204       operation 131128 "add"
2205         public explicit_return_type "void"
2206         nparams 1
2207           param in name "move" type class_ref 129301 // Move
2208         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2210         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2211   ${body}}
2213         
2214         
2215         
2216       end
2218       operation 129259 "insertRows"
2219         cpp_virtual public explicit_return_type "bool"
2220         nparams 3
2221           param in name "row" explicit_type "int"
2222           param in name "count" explicit_type "int"
2223           param in name "parent" explicit_type "QModelIndex"
2224         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2226         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2227   ${body}}
2229         
2230         
2231         
2232       end
2234       operation 129387 "removeRows"
2235         cpp_virtual public explicit_return_type "bool"
2236         nparams 3
2237           param in name "row" explicit_type "int"
2238           param in name "count" explicit_type "int"
2239           param in name "parent" explicit_type "QModelIndex"
2240         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2242         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2243   ${body}}
2245         
2246         
2247         
2248       end
2250       operation 129442 "moveList"
2251         const public explicit_return_type "QList<Move>"
2252         nparams 0
2253         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2255         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2256   ${body}}
2258         
2259         
2260         
2261       end
2262     end
2264     class 129976 "PlayerInfo"
2265       visibility package 
2266       cpp_decl "${comment}${template}class ${name}${inherit} {
2267 ${members}};
2268 ${inlines}
2270       java_decl ""
2271       php_decl ""
2272       idl_decl ""
2273       explicit_switch_type ""
2274       
2275       attribute 130360 "_name"
2276         private type class_ref 128440 // QString
2277         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2279         java_decl ""
2280         php_decl ""
2281         idl_decl ""
2282       end
2284       attribute 130488 "_color"
2285         private type class_ref 128253 // QColor
2286         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2288         java_decl ""
2289         php_decl ""
2290         idl_decl ""
2291       end
2293       attribute 130616 "_type"
2294         private type class_ref 128440 // QString
2295         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2297         java_decl ""
2298         php_decl ""
2299         idl_decl ""
2300       end
2302       operation 128730 "PlayerInfo"
2303         public explicit_return_type ""
2304         nparams 0
2305         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2307         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2308   ${body}}
2310         
2311         
2312         
2313         comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2314       end
2316       operation 129131 "PlayerInfo"
2317         public explicit_return_type ""
2318         nparams 3
2319           param in name "name" type class_ref 128440 // QString
2320           param in name "color" type class_ref 128253 // QColor
2321           param in name "type" type class_ref 128440 // QString
2322         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2324         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2325   ${body}}
2327         
2328         
2329         
2330       end
2332       operation 128346 "name"
2333         const public return_type class_ref 128440 // QString
2334         nparams 0
2335         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2337         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2338   ${body}}
2340         
2341         
2342         
2343       end
2345       operation 128474 "color"
2346         const public return_type class_ref 128253 // QColor
2347         nparams 0
2348         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2350         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2351   ${body}}
2353         
2354         
2355         
2356       end
2358       operation 128602 "type"
2359         const public return_type class_ref 128440 // QString
2360         nparams 0
2361         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2363         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2364   ${body}}
2366         
2367         
2368         
2369       end
2370     end
2372     class 128125 "QTimer"
2373       visibility package 
2374       cpp_decl "${comment}${template}class ${name}${inherit} {
2375 ${members}};
2376 ${inlines}
2378       java_decl ""
2379       php_decl ""
2380       idl_decl ""
2381       explicit_switch_type ""
2382       
2383       operation 128253 "start"
2384         stereotype "slot"
2385         public explicit_return_type "void"
2386         nparams 1
2387           param in name "msec" explicit_type "int"
2388         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2390         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2391   ${body}}
2393         
2394         
2395         
2396       end
2398       operation 128381 "stop"
2399         stereotype "slot"
2400         public explicit_return_type "void"
2401         nparams 0
2402         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2404         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2405   ${body}}
2407         
2408         
2409         
2410       end
2412       operation 128125 "timeout"
2413         stereotype "signal"
2414         protected explicit_return_type "void"
2415         nparams 0
2416         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2418         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2419   ${body}}
2421         
2422         
2423         
2424       end
2425     end
2427     class 128253 "QColor"
2428       visibility package 
2429       cpp_decl "${comment}${template}class ${name}${inherit} {
2430 ${members}};
2431 ${inlines}
2433       java_decl ""
2434       php_decl ""
2435       idl_decl ""
2436       explicit_switch_type ""
2437       
2438     end
2440     class 128381 "TimerWidget"
2441       visibility package 
2442       cpp_decl "${comment}${template}class ${name}${inherit} {
2443 ${members}};
2444 ${inlines}
2446       java_decl ""
2447       php_decl ""
2448       idl_decl ""
2449       explicit_switch_type ""
2450       
2451       attribute 128125 "_timer"
2452         private type class_ref 128125 // QTimer
2453         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2455         java_decl ""
2456         php_decl ""
2457         idl_decl ""
2458       end
2460       classrelation 128381 // <directional composition>
2461         relation 128381 *-->
2462           a role_name "" protected
2463             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2465             classrelation_ref 128381 // <directional composition>
2466           b parent class_ref 128125 // QTimer
2467       end
2469       classrelation 128509 // <generalisation>
2470         relation 128509 ---|>
2471           a public
2472             cpp default "${type}"
2473             classrelation_ref 128509 // <generalisation>
2474           b parent class_ref 128533 // QWidget
2475       end
2476     end
2478     class 128509 "QAbstractTableModel"
2479       abstract visibility package 
2480       cpp_decl "${comment}${template}class ${name}${inherit} {
2481 ${members}};
2482 ${inlines}
2484       java_decl ""
2485       php_decl ""
2486       idl_decl ""
2487       explicit_switch_type ""
2488       
2489     end
2491     class 128893 "QTableView"
2492       visibility package 
2493       cpp_decl "${comment}${template}class ${name}${inherit} {
2494 ${members}};
2495 ${inlines}
2497       java_decl ""
2498       php_decl ""
2499       idl_decl ""
2500       explicit_switch_type ""
2501       
2502       classrelation 128444 // <generalisation>
2503         relation 128444 ---|>
2504           a public
2505             cpp default "${type}"
2506             classrelation_ref 128444 // <generalisation>
2507           b parent class_ref 128533 // QWidget
2508       end
2510       classrelation 128191 // <dependency>
2511         relation 128191 -_->
2512           a default
2513             cpp default "#include in source"
2514             classrelation_ref 128191 // <dependency>
2515           b parent class_ref 129848 // HistoryModel
2516       end
2517     end
2519     class 129021 "PlayersWidget"
2520       visibility package 
2521       cpp_decl "${comment}${template}class ${name}${inherit} {
2522 ${members}};
2523 ${inlines}
2525       java_decl ""
2526       php_decl ""
2527       idl_decl ""
2528       explicit_switch_type ""
2529       
2530       comment "rappresenta turno, colore, tipo, nome dei players"
2531       operation 129149 "PlayersWidget"
2532         public explicit_return_type ""
2533         nparams 1
2534           param in name "info" explicit_type "QList<PlayerInfo>"
2535         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2537         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2538   ${body}}
2540         
2541         
2542         
2543         comment "crea un QLabel per ogni player con \"freccia turno\", colore, tipo, nome."
2544       end
2546       classrelation 128828 // <generalisation>
2547         relation 128828 ---|>
2548           a public
2549             cpp default "${type}"
2550             classrelation_ref 128828 // <generalisation>
2551           b parent class_ref 128533 // QWidget
2552       end
2554       operation 128083 "turnChanged"
2555         stereotype "<<slot>>"
2556         public explicit_return_type "void"
2557         nparams 1
2558           param in name "playerid" explicit_type "int"
2559         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2561         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2562   ${body}}
2564         
2565         
2566         
2567       end
2569       classrelation 128211 // <generalisation>
2570         relation 128211 ---|>
2571           a public
2572             cpp default "${type}"
2573             classrelation_ref 128211 // <generalisation>
2574           b parent class_ref 128211 // Ui_plwidget
2575       end
2576     end
2578     class 128227 "SoQtRenderArea"
2579       visibility package 
2580       cpp_decl "${comment}${template}class ${name}${inherit} {
2581 ${members}};
2582 ${inlines}
2584       java_decl ""
2585       php_decl ""
2586       idl_decl ""
2587       explicit_switch_type ""
2588       
2589     end
2591     class 128099 "CubeRenderArea"
2592       visibility package 
2593       cpp_decl "${comment}${template}class ${name}${inherit} {
2594 ${members}};
2595 ${inlines}
2597       java_decl ""
2598       php_decl ""
2599       idl_decl ""
2600       explicit_switch_type ""
2601       
2602       class 128739 "Direction"
2603         visibility protected stereotype "enum"
2604         cpp_decl "${comment}${template}class ${name}${inherit} {
2605 ${members}};
2606 ${inlines}
2608         java_decl ""
2609         php_decl ""
2610         idl_decl ""
2611         explicit_switch_type ""
2612         
2613         attribute 129635 "UP"
2614           public explicit_type ""
2615           cpp_decl ""
2616           java_decl ""
2617           php_decl ""
2618           idl_decl ""
2619         end
2621         attribute 129763 "DOWN"
2622           public explicit_type ""
2623           cpp_decl ""
2624           java_decl ""
2625           php_decl ""
2626           idl_decl ""
2627         end
2629         attribute 129891 "LEFT"
2630           public explicit_type ""
2631           cpp_decl ""
2632           java_decl ""
2633           php_decl ""
2634           idl_decl ""
2635         end
2637         attribute 130019 "RIGHT"
2638           public explicit_type ""
2639           cpp_decl ""
2640           java_decl ""
2641           php_decl ""
2642           idl_decl ""
2643         end
2645         attribute 130147 "IN"
2646           public explicit_type ""
2647           cpp_decl ""
2648           java_decl ""
2649           php_decl ""
2650           idl_decl ""
2651         end
2653         attribute 130275 "OUT"
2654           public explicit_type ""
2655           cpp_decl ""
2656           java_decl ""
2657           php_decl ""
2658           idl_decl ""
2659         end
2660       end
2662       class 128355 "Orientation"
2663         visibility protected stereotype "enum"
2664         cpp_decl "${comment}${template}class ${name}${inherit} {
2665 ${members}};
2666 ${inlines}
2668         java_decl ""
2669         php_decl ""
2670         idl_decl ""
2671         explicit_switch_type ""
2672         
2673         attribute 128483 "X_POSITIVE"
2674           public explicit_type ""
2675           cpp_decl "  ${name}${value},${comment}"
2676           java_decl ""
2677           php_decl ""
2678           idl_decl ""
2679         end
2681         attribute 128739 "X_NEGATIVE"
2682           public explicit_type ""
2683           cpp_decl ""
2684           java_decl ""
2685           php_decl ""
2686           idl_decl ""
2687         end
2689         attribute 128867 "Y_POSITIVE"
2690           public explicit_type ""
2691           cpp_decl ""
2692           java_decl ""
2693           php_decl ""
2694           idl_decl ""
2695         end
2697         attribute 128995 "Y_NEGATIVE"
2698           public explicit_type ""
2699           cpp_decl ""
2700           java_decl ""
2701           php_decl ""
2702           idl_decl ""
2703         end
2705         attribute 129123 "Z_POSITIVE"
2706           public explicit_type ""
2707           cpp_decl ""
2708           java_decl ""
2709           php_decl ""
2710           idl_decl ""
2711         end
2713         attribute 129251 "Z_NEGATIVE"
2714           public explicit_type ""
2715           cpp_decl ""
2716           java_decl ""
2717           php_decl ""
2718           idl_decl ""
2719         end
2721         attribute 128111 "NO_ORIENTATION"
2722           protected explicit_type ""
2723           cpp_decl ""
2724           java_decl ""
2725           php_decl ""
2726           idl_decl ""
2727         end
2728       end
2730       classrelation 128227 // <generalisation>
2731         relation 128227 ---|>
2732           a public
2733             cpp default "${type}"
2734             classrelation_ref 128227 // <generalisation>
2735           b parent class_ref 128227 // SoQtRenderArea
2736       end
2738       classrelation 128458 // <directional composition>
2739         relation 128330 *-->
2740           a role_name "" multiplicity "0..1" protected
2741             cpp default "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2743             classrelation_ref 128458 // <directional composition>
2744           b parent class_ref 128867 // SceneGraph
2745       end
2747       attribute 128586 "_scene"
2748         private type class_ref 128867 // SceneGraph
2749         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2751         java_decl ""
2752         php_decl ""
2753         idl_decl ""
2754       end
2756       attribute 128099 "_acceptMove"
2757         private explicit_type "bool"
2758         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2760         java_decl ""
2761         php_decl ""
2762         idl_decl ""
2763       end
2765       attribute 128355 "_numCubes"
2766         private explicit_type "int"
2767         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2769         java_decl ""
2770         php_decl ""
2771         idl_decl ""
2772       end
2774       attribute 129994 "_isExploded"
2775         private explicit_type "sbBool"
2776         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2778         java_decl ""
2779         php_decl ""
2780         idl_decl ""
2781       end
2783       attribute 128227 "_isRotating"
2784         private explicit_type "sbBool"
2785         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2787         java_decl ""
2788         php_decl ""
2789         idl_decl ""
2790       end
2792       attribute 129379 "_frontSide"
2793         private type class_ref 128355 // Orientation
2794         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2796         java_decl ""
2797         php_decl ""
2798         idl_decl ""
2799       end
2801       attribute 129507 "_upSide"
2802         private type class_ref 128355 // Orientation
2803         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2805         java_decl ""
2806         php_decl ""
2807         idl_decl ""
2808       end
2810       operation 128611 "CubeRenderArea"
2811         public explicit_return_type ""
2812         nparams 2
2813           param in name "parent" explicit_type "QWidget*"
2814           param in name "dim" explicit_type "int"
2815         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2817         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2818   ${body}}
2820         
2821         
2822         
2823         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"
2824       end
2826       operation 128227 "drawMove"
2827         public explicit_return_type "void"
2828         nparams 2
2829           param in name "p" type class_ref 129173 // Point
2830           param in name "c" explicit_type "sbColor"
2831         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2833         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2834   ${body}}
2836         
2837         
2838         
2839       end
2841       operation 129738 "doMove"
2842         public explicit_return_type "void"
2843         nparams 0
2844         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2846         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2847   ${body}}
2849         
2850         
2851         
2852         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."
2853       end
2855       operation 128739 "getOrientation"
2856         public return_type class_ref 128355 // Orientation
2857         nparams 1
2858           param in name "dir" type class_ref 128739 // Direction
2859         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2861         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2862   ${body}}
2864         
2865         
2866         
2867         comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
2868       end
2870       operation 128355 "selectCube"
2871         public explicit_return_type "void"
2872         nparams 2
2873           param in name "p" type class_ref 129173 // Point
2874           param in name "c" explicit_type "sbColor"
2875             defaultvalue "255,0,0"
2876         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2878         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2879   ${body}}
2881         
2882         
2883         
2884         comment "usata dal suggeritore della mossa e dall'event dispatcher.
2885 il valore di default del parametro c, Ã¨ il colore usato per la selezione nel caso generale.
2886 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
2887       end
2889       attribute 130122 "_hasPreviousPick"
2890         private explicit_type "bool"
2891         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2893         java_decl ""
2894         php_decl ""
2895         idl_decl ""
2896         comment "utilizzato per gestire gli eventi del mouse..il primo click Ã¨ da ignorare perchè da coordinate sballate"
2897       end
2899       attribute 130250 "_lastXPick"
2900         private explicit_type "float"
2901         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2903         java_decl ""
2904         php_decl ""
2905         idl_decl ""
2906         comment "coordinate x dell ultimo click"
2907       end
2909       attribute 130378 "_lastYPick"
2910         private explicit_type "float"
2911         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2913         java_decl ""
2914         php_decl ""
2915         idl_decl ""
2916       end
2918       attribute 130506 "_projection"
2919         private explicit_type "sbSphereSheetProjector"
2920         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2922         java_decl ""
2923         php_decl ""
2924         idl_decl ""
2925         comment "usato per la telecamera. guardare documentazione"
2926       end
2928       operation 128586 "rotateCamera"
2929         public explicit_return_type "void"
2930         nparams 2
2931           param in name "newX" explicit_type "float"
2932           param in name "newY" explicit_type "float"
2933         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2935         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2936   ${body}}
2938         
2939         
2940         
2941         comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
2942       end
2944       operation 128714 "zoomCamera"
2945         public explicit_return_type "void"
2946         nparams 1
2947           param in name "delta" explicit_type "int"
2948         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2950         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2951   ${body}}
2953         
2954         
2955         
2956         comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
2957       end
2959       operation 128202 "eventDispatcher"
2960         class_operation public explicit_return_type "void"
2961         nparams 2
2962           param in name "userdata" explicit_type "void*"
2963           param in name "eventCB" explicit_type "QEvent*"
2964         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2966         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2967   ${body}}
2969         
2970         
2971         
2972         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
2973 casi particolari:
2974 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
2975          per chiamare la applyImplosion() passare il parametro TRUE
2977 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
2978                         invocare la applyImplosion() con parametro uguale a FALSE"
2979       end
2981       operation 128330 "cubeSelected"
2982         class_operation public explicit_return_type "void"
2983         nparams 2
2984           param in name "data" explicit_type "void*"
2985           param in name "path" explicit_type "SoPath*"
2986         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2988         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2989   ${body}}
2991         
2992         
2993         
2994         comment "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro Ã¨ la CubeRenderArea"
2995       end
2997       operation 128458 "cubeDeselected"
2998         class_operation public explicit_return_type "void"
2999         nparams 2
3000           param in name "data" explicit_type "void*"
3001           param in name "path" explicit_type "SoPath*"
3002         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3004         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3005   ${body}}
3007         
3008         
3009         
3010         comment "deseleziona la casella ( cioè mette a null _selectedCube). data Ã¨ il CubeRenderArea"
3011       end
3013       attribute 128091 "_highlightAction"
3014         private explicit_type "SoLineHighlightRenderAction*"
3015         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3017         java_decl ""
3018         php_decl ""
3019         idl_decl ""
3020       end
3022       attribute 128039 "_mutex"
3023         private type class_ref 130837 // QMutex
3024         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3026         java_decl ""
3027         php_decl ""
3028         idl_decl ""
3029       end
3030     end
3032     class 128867 "SceneGraph"
3033       visibility package 
3034       cpp_decl "${comment}${template}class ${name}${inherit} {
3035 ${members}};
3036 ${inlines}
3038       java_decl ""
3039       php_decl ""
3040       idl_decl ""
3041       explicit_switch_type ""
3042       
3043       attribute 128458 "_renderArea"
3044         private type class_ref 128099 // CubeRenderArea
3045         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3047         java_decl ""
3048         php_decl ""
3049         idl_decl ""
3050       end
3052       operation 128842 "SceneGraph"
3053         public explicit_return_type ""
3054         nparams 2
3055           param in name "ra" explicit_type "CubeRenderArea*"
3056           param in name "dim" explicit_type "int"
3057         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3059         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3060   ${body}}
3062         
3063         
3064         
3065         comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3066       end
3068       attribute 128074 "_root"
3069         private explicit_type "SoSeparator"
3070         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3072         java_decl ""
3073         php_decl ""
3074         idl_decl ""
3075         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"
3076       end
3078       attribute 128202 "_camera"
3079         private explicit_type "SoCamera"
3080         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3082         java_decl ""
3083         php_decl ""
3084         idl_decl ""
3085       end
3087       attribute 128330 "_light"
3088         private explicit_type "SoLight"
3089         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3091         java_decl ""
3092         php_decl ""
3093         idl_decl ""
3094       end
3096       attribute 128714 "_selector"
3097         private explicit_type "SoSelection"
3098         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3100         java_decl ""
3101         php_decl ""
3102         idl_decl ""
3103       end
3105       attribute 128842 "_fixedCubes"
3106         private explicit_type "SoGroup"
3107         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3109         java_decl ""
3110         php_decl ""
3111         idl_decl ""
3112         comment "i cubi che non sono esplosi"
3113       end
3115       attribute 128970 "_movedCubes"
3116         private explicit_type "QLinkedList<SoGroup*>"
3117         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3119         java_decl ""
3120         php_decl ""
3121         idl_decl ""
3122         comment "i cubi esplosi"
3123       end
3125       attribute 129098 "_shape"
3126         private explicit_type "SoShape"
3127         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3129         java_decl ""
3130         php_decl ""
3131         idl_decl ""
3132         comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3133       end
3135       attribute 129354 "_mover"
3136         private explicit_type "QLinkedList<SoTranslation>"
3137         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3139         java_decl ""
3140         php_decl ""
3141         idl_decl ""
3142         comment "lista di traslazioni, una per ogni livello esploso"
3143       end
3145       attribute 129482 "_interpolator"
3146         private explicit_type "QLinkedList<SoInterpolateVec3f>"
3147         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3149         java_decl ""
3150         php_decl ""
3151         idl_decl ""
3152         comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3153       end
3155       attribute 129610 "_timer"
3156         private explicit_type "QLinkedList<SoOneShot>"
3157         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3159         java_decl ""
3160         php_decl ""
3161         idl_decl ""
3162         comment "lista di timer"
3163       end
3165       attribute 129738 "_explodeSensor"
3166         private explicit_type "SoOneShotSensor"
3167         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3169         java_decl ""
3170         php_decl ""
3171         idl_decl ""
3172         comment "classe che schedula la explode e la implode.
3173 Come callback avra' la explodeCubeCB di CubeRenderArea"
3174       end
3176       attribute 129866 "_graphMatrix"
3177         private explicit_type "SoSeparator*"
3178         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3180         java_decl ""
3181         php_decl ""
3182         idl_decl ""
3183         comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3184       end
3186       operation 128970 "applyRotationToCamera"
3187         public explicit_return_type "void"
3188         nparams 1
3189           param in name "rot" explicit_type "SbRotation*"
3190         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3192         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3193   ${body}}
3195         
3196         
3197         
3198         comment "applica la rotazione rot alla telecamera"
3199       end
3201       operation 129098 "applyTranslationToCamera"
3202         public explicit_return_type "void"
3203         nparams 1
3204           param in name "delta" explicit_type "int"
3205         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3207         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3208   ${body}}
3210         
3211         
3212         
3213         comment "applica una traslazione alla telecamera. Usata per lo zoom"
3214       end
3216       operation 129226 "applyExplosionToCube"
3217         public explicit_return_type "void"
3218         nparams 1
3219           param in name "desired" type class_ref 128355 // Orientation
3220         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3222         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3223   ${body}}
3225         
3226         
3227         
3228         comment "se desired NON Ã¨ uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3229 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3230 setto il campo _directionOfExplosion
3231 sempre:
3232 -chiamo n volte la explodeLevel()
3235       end
3237       operation 129354 "applyImplosionToCube"
3238         public explicit_return_type "void"
3239         nparams 0
3240         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3242         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3243   ${body}}
3245         
3246         
3247         
3248         comment "apllica l'implosione.
3249 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3250 fino al cursore"
3251       end
3253       operation 128074 "getRoot"
3254         public explicit_return_type "SoSeparator*"
3255         nparams 0
3256         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3258         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3259   ${body}}
3261         
3262         
3263         
3264       end
3266       operation 129482 "explodeLevel"
3267         private explicit_return_type "void"
3268         nparams 0
3269         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3271         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3272   ${body}}
3274         
3275         
3276         
3277         comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3278 Confronta le dimensioni degli array con _explodedLevels:
3279 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3280 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3281 INCREMENTARE _explodedLevels in ogni caso"
3282       end
3284       operation 129610 "implodeLevel"
3285         private explicit_return_type "void"
3286         nparams 0
3287         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3289         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3290   ${body}}
3292         
3293         
3294         
3295         comment "funzione ausiliaria. Implode l ultimo livello esploso
3296 invertire le posizioni del mover e attivare il timer
3297 DECREMENTARE _explodedLevels"
3298       end
3300       attribute 128239 "_selectedCube"
3301         private explicit_type "SoSeparator"
3302         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3304         java_decl ""
3305         php_decl ""
3306         idl_decl ""
3307       end
3309       attribute 128367 "_directionOfExplosion"
3310         private type class_ref 128355 // Orientation
3311         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3313         java_decl ""
3314         php_decl ""
3315         idl_decl ""
3316       end
3318       attribute 128495 "_explodedLevels"
3319         private explicit_type "int"
3320         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3322         java_decl ""
3323         php_decl ""
3324         idl_decl ""
3325       end
3326     end
3328     class 128008 "QSettings"
3329       visibility package 
3330       cpp_decl "${comment}${template}class ${name}${inherit} {
3331 ${members}};
3332 ${inlines}
3334       java_decl ""
3335       php_decl ""
3336       idl_decl ""
3337       explicit_switch_type ""
3338       
3339     end
3341     class 128426 "AbstractSettings"
3342       abstract visibility package 
3343       cpp_decl "${comment}${template}class ${name}${inherit} {
3344 ${members}};
3345 ${inlines}
3347       java_decl ""
3348       php_decl ""
3349       idl_decl ""
3350       explicit_switch_type ""
3351       
3352       operation 128776 "language"
3353         abstract const cpp_virtual public return_type class_ref 128440 // QString
3354         nparams 0
3355         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3357         
3358         
3359         
3360       end
3362       operation 128090 "dockState"
3363         abstract const cpp_virtual public explicit_return_type "QByteArray"
3364         nparams 0
3365         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3367         
3368         
3369         
3370       end
3372       operation 129416 "geometry"
3373         abstract const cpp_virtual public explicit_return_type "QByteArray"
3374         nparams 0
3375         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3377         
3378         
3379         
3380       end
3382       operation 128444 "defaultCubeColor"
3383         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3384         nparams 0
3385         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3387         
3388         
3389         
3390       end
3392       operation 128619 "backgroundColor"
3393         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3394         nparams 0
3395         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3397         
3398         
3399         
3400       end
3402       operation 129544 "setLanguage"
3403         abstract cpp_virtual public explicit_return_type "void"
3404         nparams 1
3405           param in name "lang" type class_ref 128440 // QString
3406         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3408         
3409         
3410         
3411       end
3413       operation 128218 "setDockState"
3414         abstract const cpp_virtual public explicit_return_type "void"
3415         nparams 1
3416           param in name "state" explicit_type "QByteArray"
3417         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3419         
3420         
3421         
3422       end
3424       operation 129800 "setGeometry"
3425         abstract cpp_virtual public explicit_return_type "void"
3426         nparams 1
3427           param in name "geom" explicit_type "QByteArray"
3428         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3430         
3431         
3432         
3433       end
3435       operation 128572 "setDefaultCubeColor"
3436         abstract cpp_virtual public explicit_return_type "void"
3437         nparams 1
3438           param in name "color" type class_ref 128253 // QColor
3439         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3441         
3442         
3443         
3444       end
3446       operation 128747 "setBackgroundColor"
3447         abstract cpp_virtual public explicit_return_type "void"
3448         nparams 1
3449           param in name "color" type class_ref 128253 // QColor
3450         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3452         
3453         
3454         
3455       end
3456     end
3458     class 130453 "SettingsManager"
3459       abstract visibility package 
3460       cpp_decl "${comment}${template}class ${name}${inherit} {
3461 ${members}};
3462 ${inlines}
3464       java_decl ""
3465       php_decl ""
3466       idl_decl ""
3467       explicit_switch_type ""
3468       
3469       operation 128904 "playersInfo"
3470         abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3471         nparams 0
3472         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3474         
3475         
3476         
3477       end
3479       operation 129032 "difficulty1"
3480         abstract const cpp_virtual public explicit_return_type "int"
3481         nparams 0
3482         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3484         
3485         
3486         
3487       end
3489       operation 129160 "difficulty2"
3490         abstract const cpp_virtual public explicit_return_type "int"
3491         nparams 0
3492         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3494         
3495         
3496         
3497       end
3499       operation 129672 "setPlayersInfo"
3500         abstract cpp_virtual public explicit_return_type "void"
3501         nparams 1
3502           param in name "info" explicit_type "QList<PlayerInfo>"
3503         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3505         
3506         
3507         
3508       end
3510       operation 128009 "setDifficulty1"
3511         abstract cpp_virtual public explicit_return_type "void"
3512         nparams 1
3513           param in name "d1" explicit_type "int"
3514         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3516         
3517         
3518         
3519       end
3521       operation 128137 "setDifficulty2"
3522         abstract cpp_virtual public explicit_return_type "void"
3523         nparams 1
3524           param in name "d2" explicit_type "int"
3525         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3527         
3528         
3529         
3530       end
3532       classrelation 129450 // <generalisation>
3533         relation 129450 ---|>
3534           a public
3535             cpp default "${type}"
3536             classrelation_ref 129450 // <generalisation>
3537           b parent class_ref 128426 // AbstractSettings
3538       end
3539     end
3541     class 128042 "LocalSettings"
3542       visibility package 
3543       cpp_decl "${comment}${template}class ${name}${inherit} {
3544 ${members}};
3545 ${inlines}
3547       java_decl ""
3548       php_decl ""
3549       idl_decl ""
3550       explicit_switch_type ""
3551       
3552       classrelation 129578 // <generalisation>
3553         relation 129578 ---|>
3554           a public
3555             cpp default "${type}"
3556             classrelation_ref 129578 // <generalisation>
3557           b parent class_ref 128298 // GUISettings
3558       end
3560       classrelation 129962 // <realization>
3561         relation 129962 -_-|>
3562           a public
3563             cpp default "${type}"
3564             classrelation_ref 129962 // <realization>
3565           b parent class_ref 130453 // SettingsManager
3566       end
3567     end
3569     class 128170 "ServerSettings"
3570       visibility package 
3571       cpp_decl "${comment}${template}class ${name}${inherit} {
3572 ${members}};
3573 ${inlines}
3575       java_decl ""
3576       php_decl ""
3577       idl_decl ""
3578       explicit_switch_type ""
3579       
3580       operation 129186 "serverPort"
3581         const public explicit_return_type "quint16"
3582         nparams 0
3583         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3585         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3586   ${body}}
3588         
3589         
3590         
3591       end
3593       operation 128170 "timerDuration"
3594         const public explicit_return_type "int"
3595         nparams 0
3596         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3598         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3599   ${body}}
3601         
3602         
3603         
3604       end
3606       operation 129314 "setServerPort"
3607         public explicit_return_type "void"
3608         nparams 1
3609           param in name "port" explicit_type "quint16"
3610         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3612         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3613   ${body}}
3615         
3616         
3617         
3618       end
3620       operation 128298 "setTimerDuration"
3621         public explicit_return_type "void"
3622         nparams 1
3623           param in name "msec" explicit_type "int"
3624         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3626         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3627   ${body}}
3629         
3630         
3631         
3632       end
3634       classrelation 129706 // <generalisation>
3635         relation 129706 ---|>
3636           a public
3637             cpp default "${type}"
3638             classrelation_ref 129706 // <generalisation>
3639           b parent class_ref 128298 // GUISettings
3640       end
3642       classrelation 129834 // <realization>
3643         relation 129834 -_-|>
3644           a public
3645             cpp default "${type}"
3646             classrelation_ref 129834 // <realization>
3647           b parent class_ref 130453 // SettingsManager
3648       end
3649     end
3651     class 128298 "GUISettings"
3652       visibility package 
3653       cpp_decl "${comment}${template}class ${name}${inherit} {
3654 ${members}};
3655 ${inlines}
3657       java_decl ""
3658       php_decl ""
3659       idl_decl ""
3660       explicit_switch_type ""
3661       
3662       classrelation 129194 // <realization>
3663         relation 129194 -_-|>
3664           a public
3665             cpp default "${type}"
3666             classrelation_ref 129194 // <realization>
3667           b parent class_ref 128426 // AbstractSettings
3668       end
3670       classrelation 129322 // <generalisation>
3671         relation 129322 ---|>
3672           stereotype "protected"
3673           a protected
3674             cpp default "${type}"
3675             classrelation_ref 129322 // <generalisation>
3676           b parent class_ref 128008 // QSettings
3677       end
3678     end
3680     class 129345 "GameClient"
3681       visibility package 
3682       cpp_decl "${comment}${template}class ${name}${inherit} {
3683 ${members}};
3684 ${inlines}
3686       java_decl ""
3687       php_decl ""
3688       idl_decl ""
3689       explicit_switch_type ""
3690       
3691       classrelation 129345 // <realization>
3692         relation 129345 -_-|>
3693           a public
3694             cpp default "${type}"
3695             classrelation_ref 129345 // <realization>
3696           b parent class_ref 130069 // Network
3697       end
3699       classrelation 129168 // <directional composition>
3700         relation 129168 *-->
3701           a role_name "" protected
3702             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3704             classrelation_ref 129168 // <directional composition>
3705           b parent class_ref 129168 // ClientSocket
3706       end
3708       attribute 129267 "_localPlayer"
3709         private explicit_type "int"
3710         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3712         java_decl ""
3713         php_decl ""
3714         idl_decl ""
3715       end
3717       attribute 129296 "_server"
3718         private type class_ref 129168 // ClientSocket
3719         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3721         java_decl ""
3722         php_decl ""
3723         idl_decl ""
3724       end
3726       operation 129296 "GameClient"
3727         public explicit_return_type ""
3728         nparams 3
3729           param in name "gui" type class_ref 128533 // QWidget
3730           param in name "serverAddress" type class_ref 128440 // QString
3731           param in name "serverPort" explicit_type "quint16"
3732         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3734         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3735   ${body}}
3737         
3738         
3739         
3740       end
3742       operation 129561 "~GameClient"
3743         cpp_virtual public explicit_return_type ""
3744         nparams 0
3745         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3747         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3748   ${body}}
3750         
3751         
3752         
3753       end
3755       operation 129424 "requestMove"
3756         cpp_virtual public return_type class_ref 129173 // Point
3757         nparams 0
3758         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3760         
3761         
3762         
3763       end
3765       operation 129552 "setupChat"
3766         cpp_virtual public explicit_return_type "void"
3767         nparams 1
3768           param in name "widget" type class_ref 128789 // ChatWidget
3769         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3771         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3772   ${body}}
3774         
3775         
3776         
3777       end
3779       operation 129267 "setLocalPlayer"
3780         stereotype "slot"
3781         private explicit_return_type "void"
3782         nparams 1
3783           param in name "id" explicit_type "int"
3784         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3786         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3787   ${body}}
3789         
3790         
3791         
3792       end
3793     end
3795     class 129217 "GameServer"
3796       visibility protected 
3797       cpp_decl "${comment}${template}class ${name}${inherit} {
3798 ${members}};
3799 ${inlines}
3801       java_decl ""
3802       php_decl ""
3803       idl_decl ""
3804       explicit_switch_type ""
3805       
3806       classrelation 129217 // <realization>
3807         relation 129217 -_-|>
3808           a public
3809             cpp default "${type}"
3810             classrelation_ref 129217 // <realization>
3811           b parent class_ref 130069 // Network
3812       end
3814       classrelation 129296 // <directional composition>
3815         relation 129296 *-->
3816           a role_name "" multiplicity "*" protected
3817             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3819             classrelation_ref 129296 // <directional composition>
3820           b parent class_ref 129296 // ServerSocket
3821       end
3823       classrelation 129424 // <directional composition>
3824         relation 129424 *-->
3825           a role_name "" protected
3826             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3828             classrelation_ref 129424 // <directional composition>
3829           b parent class_ref 129212 // QTcpServer
3830       end
3832       operation 129936 "GameServer"
3833         public explicit_return_type ""
3834         nparams 2
3835           param in name "gui" type class_ref 128533 // QWidget
3836           param in name "history" type class_ref 129848 // HistoryModel
3837         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3839         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3840   ${body}}
3842         
3843         
3844         
3845       end
3847       operation 129433 "~GameServer"
3848         cpp_virtual public explicit_return_type ""
3849         nparams 0
3850         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3852         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3853   ${body}}
3855         
3856         
3857         
3858       end
3860       operation 129680 "requestMove"
3861         cpp_virtual public return_type class_ref 129173 // Point
3862         nparams 0
3863         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3865         
3866         
3867         
3868       end
3870       operation 129808 "setupChat"
3871         cpp_virtual public explicit_return_type "void"
3872         nparams 1
3873           param in name "widget" type class_ref 128789 // ChatWidget
3874         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3876         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3877   ${body}}
3879         
3880         
3881         
3882       end
3884       operation 130064 "handleIncomingConnection"
3885         stereotype "slot"
3886         private explicit_return_type "void"
3887         nparams 0
3888         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3890         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3891   ${body}}
3893         
3894         
3895         
3896       end
3898       operation 132431 "handleJoinRequest"
3899         stereotype "slot"
3900         private explicit_return_type "void"
3901         nparams 2
3902           param in name "mode" type class_ref 128440 // QString
3903           param in name "name" type class_ref 128440 // QString
3904         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3906         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3907   ${body}}
3909         
3910         
3911         
3912       end
3914       operation 128024 "setTurn"
3915         stereotype "slot"
3916         private explicit_return_type "void"
3917         nparams 1
3918           param in name "playerId" explicit_type "int"
3919         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3921         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3922   ${body}}
3924         
3925         
3926         
3927       end
3929       attribute 129424 "_listener"
3930         private type class_ref 129212 // QTcpServer
3931         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3933         java_decl ""
3934         php_decl ""
3935         idl_decl ""
3936       end
3938       attribute 129552 "_pendingConnections"
3939         private explicit_type "QLinkedList<ServerSocket>"
3940         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3942         java_decl ""
3943         php_decl ""
3944         idl_decl ""
3945       end
3947       attribute 129680 "_remotePlayers"
3948         private explicit_type "QList<ServerSocket>"
3949         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3951         java_decl ""
3952         php_decl ""
3953         idl_decl ""
3954       end
3956       attribute 129808 "_spectators"
3957         private explicit_type "QList<ServerSocket>"
3958         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3960         java_decl ""
3961         php_decl ""
3962         idl_decl ""
3963       end
3965       attribute 130064 "_gameInProgress"
3966         private explicit_type "bool"
3967         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3969         java_decl ""
3970         php_decl ""
3971         idl_decl ""
3972       end
3974       attribute 129936 "_history"
3975         private type class_ref 129848 // HistoryModel
3976         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3978         java_decl ""
3979         php_decl ""
3980         idl_decl ""
3981       end
3983       attribute 129199 "_names"
3984         private explicit_type "QStringList"
3985         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3987         java_decl ""
3988         php_decl ""
3989         idl_decl ""
3990       end
3992       attribute 130492 "_numberOfPlayers"
3993         private explicit_type "int"
3994         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3996         java_decl ""
3997         php_decl ""
3998         idl_decl ""
3999       end
4001       attribute 128024 "_turn"
4002         private explicit_type "int"
4003         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4005         java_decl ""
4006         php_decl ""
4007         idl_decl ""
4008       end
4010       attribute 129395 "_settings"
4011         private type class_ref 128170 // ServerSettings
4012         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4014         java_decl ""
4015         php_decl ""
4016         idl_decl ""
4017       end
4018     end
4020     class 129231 "StreamSocket"
4021       visibility package 
4022       cpp_decl "${comment}${template}class ${name}${inherit} {
4023 ${members}};
4024 ${inlines}
4026       java_decl ""
4027       php_decl ""
4028       idl_decl ""
4029       explicit_switch_type ""
4030       
4031       class 129359 "ProtocolState"
4032         visibility protected stereotype "enum"
4033         cpp_decl "${comment}enum ${name} {
4034 ${items}
4037         java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
4038 ${items};
4039 ${members}}
4041         php_decl "${comment}final ${visibility}class ${name} {
4042 ${items}}
4044         idl_decl "${comment}enum ${name} {
4045 ${items}};
4047         explicit_switch_type ""
4048         
4049         attribute 129743 "Unconnected"
4050           public type class_ref 129359 // ProtocolState
4051           cpp_decl "  ${name}${value},${comment}"
4052           java_decl ""
4053           php_decl ""
4054           idl_decl ""
4055         end
4057         attribute 129871 "Listening"
4058           public type class_ref 129359 // ProtocolState
4059           cpp_decl "  ${name}${value},${comment}"
4060           java_decl ""
4061           php_decl ""
4062           idl_decl ""
4063         end
4065         attribute 129999 "Connecting"
4066           public type class_ref 129359 // ProtocolState
4067           cpp_decl "  ${name}${value},${comment}"
4068           java_decl ""
4069           php_decl ""
4070           idl_decl ""
4071         end
4073         attribute 130127 "Connected"
4074           public type class_ref 129359 // ProtocolState
4075           cpp_decl "  ${name}${value},${comment}"
4076           java_decl ""
4077           php_decl ""
4078           idl_decl ""
4079         end
4081         attribute 130255 "OpeningStream"
4082           public type class_ref 129359 // ProtocolState
4083           cpp_decl "  ${name}${value},${comment}"
4084           java_decl ""
4085           php_decl ""
4086           idl_decl ""
4087         end
4089         attribute 130383 "FullyOpened"
4090           public type class_ref 129359 // ProtocolState
4091           cpp_decl "  ${name}${value},${comment}"
4092           java_decl ""
4093           php_decl ""
4094           idl_decl ""
4095         end
4097         attribute 130511 "Idle"
4098           public type class_ref 129359 // ProtocolState
4099           cpp_decl "  ${name}${value},${comment}"
4100           java_decl ""
4101           php_decl ""
4102           idl_decl ""
4103         end
4105         attribute 130639 "AwaitingJoinRequest"
4106           public type class_ref 129359 // ProtocolState
4107           cpp_decl "  ${name}${value},${comment}"
4108           java_decl ""
4109           php_decl ""
4110           idl_decl ""
4111         end
4113         attribute 130767 "AwaitingJoinAnswer"
4114           public type class_ref 129359 // ProtocolState
4115           cpp_decl "  ${name}${value},${comment}"
4116           java_decl ""
4117           php_decl ""
4118           idl_decl ""
4119         end
4121         attribute 130895 "AwaitingPlayers"
4122           public type class_ref 129359 // ProtocolState
4123           cpp_decl "  ${name}${value},${comment}"
4124           java_decl ""
4125           php_decl ""
4126           idl_decl ""
4127         end
4129         attribute 131023 "AwaitingGameStart"
4130           public type class_ref 129359 // ProtocolState
4131           cpp_decl "  ${name}${value},${comment}"
4132           java_decl ""
4133           php_decl ""
4134           idl_decl ""
4135         end
4137         attribute 131151 "Playing"
4138           public type class_ref 129359 // ProtocolState
4139           cpp_decl "  ${name}${value},${comment}"
4140           java_decl ""
4141           php_decl ""
4142           idl_decl ""
4143         end
4145         attribute 131279 "AwaitingMove"
4146           public type class_ref 129359 // ProtocolState
4147           cpp_decl "  ${name}${value},${comment}"
4148           java_decl ""
4149           php_decl ""
4150           idl_decl ""
4151         end
4153         attribute 131407 "Closing"
4154           public type class_ref 129359 // ProtocolState
4155           cpp_decl "  ${name}${value},${comment}"
4156           java_decl ""
4157           php_decl ""
4158           idl_decl ""
4159         end
4161         attribute 131535 "Closed"
4162           public type class_ref 129359 // ProtocolState
4163           cpp_decl "  ${name}${value},${comment}"
4164           java_decl ""
4165           php_decl ""
4166           idl_decl ""
4167         end
4168       end
4170       classrelation 129487 // <generalisation>
4171         relation 129487 ---|>
4172           stereotype "protected"
4173           a protected
4174             cpp default "${type}"
4175             classrelation_ref 129487 // <generalisation>
4176           b parent class_ref 129601 // QXmlStreamWriter
4177       end
4179       classrelation 129615 // <generalisation>
4180         relation 129615 ---|>
4181           stereotype "protected"
4182           a protected
4183             cpp default "${type}"
4184             classrelation_ref 129615 // <generalisation>
4185           b parent class_ref 129473 // QXmlStreamReader
4186       end
4188       classrelation 129743 // <directional composition>
4189         relation 129743 *-->
4190           a role_name "" protected
4191             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4193             classrelation_ref 129743 // <directional composition>
4194           b parent class_ref 129340 // QTcpSocket
4195       end
4197       attribute 129231 "_supportedProtocolVersion"
4198         class_attribute const_attribute protected type class_ref 128440 // QString
4199         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4201         java_decl ""
4202         php_decl ""
4203         idl_decl ""
4204       end
4206       attribute 129359 "_socket"
4207         protected type class_ref 129340 // QTcpSocket
4208         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4210         java_decl ""
4211         php_decl ""
4212         idl_decl ""
4213       end
4215       attribute 129487 "_buffer"
4216         private explicit_type "QLinkedList<Move>"
4217         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4219         java_decl ""
4220         php_decl ""
4221         idl_decl ""
4222       end
4224       attribute 129615 "_state"
4225         private explicit_type "ProtocolState"
4226         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4228         java_decl ""
4229         php_decl ""
4230         idl_decl ""
4231       end
4233       operation 129231 "StreamSocket"
4234         protected explicit_return_type ""
4235         nparams 1
4236           param in name "socket" type class_ref 129340 // QTcpSocket
4237         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4239         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4240   ${body}}
4242         
4243         
4244         
4245       end
4247       operation 129177 "~StreamSocket"
4248         public explicit_return_type ""
4249         nparams 0
4250         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4252         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4253   ${body}}
4255         
4256         
4257         
4258       end
4260       operation 129305 "state"
4261         const public explicit_return_type "ProtocolState"
4262         nparams 0
4263         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4265         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4266   ${body}}
4268         
4269         
4270         
4271       end
4273       operation 129359 "changeState"
4274         protected explicit_return_type "void"
4275         nparams 1
4276           param in name "state" explicit_type "ProtocolState"
4277         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4279         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4280   ${body}}
4282         
4283         
4284         
4285       end
4287       operation 129487 "sendChatMessage"
4288         stereotype "slot"
4289         public explicit_return_type "void"
4290         nparams 1
4291           param in name "msg" type class_ref 128440 // QString
4292         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4294         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4295   ${body}}
4297         
4298         
4299         
4300       end
4302       operation 129615 "sendMove"
4303         stereotype "slot"
4304         public explicit_return_type "void"
4305         nparams 1
4306           param in name "move" type class_ref 129301 // Move
4307         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4309         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4310   ${body}}
4312         
4313         
4314         
4315       end
4317       operation 129743 "openStream"
4318         stereotype "slot"
4319         protected explicit_return_type "void"
4320         nparams 0
4321         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4323         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4324   ${body}}
4326         
4327         
4328         
4329       end
4331       operation 129871 "closeStream"
4332         stereotype "slot"
4333         protected explicit_return_type "void"
4334         nparams 0
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}{
4338   ${body}}
4340         
4341         
4342         
4343       end
4345       operation 129999 "handleError"
4346         stereotype "slot"
4347         protected explicit_return_type "void"
4348         nparams 1
4349           param in name "error" explicit_type "QAbstractSocket::SocketError"
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}{
4353   ${body}}
4355         
4356         
4357         
4358       end
4360       operation 130127 "parseData"
4361         stereotype "slot"
4362         protected explicit_return_type "void"
4363         nparams 0
4364         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4366         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4367   ${body}}
4369         
4370         
4371         
4372       end
4374       operation 130255 "playerJoined"
4375         stereotype "signal"
4376         protected explicit_return_type "void"
4377         nparams 3
4378           param in name "id" explicit_type "int"
4379           param in name "name" type class_ref 128440 // QString
4380           param in name "type" type class_ref 128440 // QString
4381         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4383         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4384   ${body}}
4386         
4387         
4388         
4389       end
4391       operation 130383 "playerLeft"
4392         stereotype "signal"
4393         protected explicit_return_type "void"
4394         nparams 1
4395           param in name "id" explicit_type "int"
4396         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4398         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4399   ${body}}
4401         
4402         
4403         
4404       end
4406       operation 130511 "receivedChatMessage"
4407         stereotype "signal"
4408         protected explicit_return_type "void"
4409         nparams 1
4410           param in name "msg" type class_ref 128440 // QString
4411         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4413         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4414   ${body}}
4416         
4417         
4418         
4419       end
4421       operation 130639 "receivedMove"
4422         stereotype "signal"
4423         protected explicit_return_type "void"
4424         nparams 1
4425           param in name "move" type class_ref 129301 // Move
4426         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4428         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4429   ${body}}
4431         
4432         
4433         
4434       end
4436       operation 130767 "startGame"
4437         stereotype "signal"
4438         protected explicit_return_type "void"
4439         nparams 0
4440         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4442         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4443   ${body}}
4445         
4446         
4447         
4448       end
4450       classrelation 129187 // <unidirectional association>
4451         relation 129187 --->
4452           a role_name "" protected
4453             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4455             classrelation_ref 129187 // <unidirectional association>
4456           b multiplicity "*" parent class_ref 129359 // ProtocolState
4457       end
4458     end
4460     class 129168 "ClientSocket"
4461       visibility package 
4462       cpp_decl "${comment}${template}class ${name}${inherit} {
4463 ${members}};
4464 ${inlines}
4466       java_decl ""
4467       php_decl ""
4468       idl_decl ""
4469       explicit_switch_type ""
4470       
4471       classrelation 129359 // <generalisation>
4472         relation 129359 ---|>
4473           a public
4474             cpp default "${type}"
4475             classrelation_ref 129359 // <generalisation>
4476           b parent class_ref 129231 // StreamSocket
4477       end
4479       operation 129315 "ClientSocket"
4480         public explicit_return_type ""
4481         nparams 1
4482           param in name "socket" type class_ref 129340 // QTcpSocket
4483         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4485         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4486   ${body}}
4488         
4489         
4490         
4491       end
4493       operation 132047 "joinGame"
4494         stereotype "slot"
4495         public explicit_return_type "void"
4496         nparams 2
4497           param in name "mode" type class_ref 128440 // QString
4498           param in name "name" type class_ref 128440 // QString
4499         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4501         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4502   ${body}}
4504         
4505         
4506         
4507       end
4509       operation 132175 "cancelJoin"
4510         stereotype "slot"
4511         public explicit_return_type "void"
4512         nparams 0
4513         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4515         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4516   ${body}}
4518         
4519         
4520         
4521       end
4523       operation 132303 "parseData"
4524         stereotype "slot"
4525         protected explicit_return_type "void"
4526         nparams 0
4527         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4529         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4530   ${body}}
4532         
4533         
4534         
4535       end
4537       operation 132559 "joinAccepted"
4538         stereotype "signal"
4539         protected explicit_return_type "void"
4540         nparams 1
4541           param in name "id" explicit_type "int"
4542         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4544         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4545   ${body}}
4547         
4548         
4549         
4550       end
4552       operation 132687 "joinRefused"
4553         stereotype "signal"
4554         protected explicit_return_type "void"
4555         nparams 1
4556           param in name "cause" explicit_type "int"
4557         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4559         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4560   ${body}}
4562         
4563         
4564         
4565       end
4567       operation 132815 "receivedGameSettings"
4568         stereotype "signal"
4569         protected explicit_return_type "void"
4570         nparams 4
4571           param in name "d1" explicit_type "int"
4572           param in name "d2" explicit_type "int"
4573           param in name "timer" explicit_type "int"
4574           param in name "playing" explicit_type "bool"
4575         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4577         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4578   ${body}}
4580         
4581         
4582         
4583       end
4585       operation 132943 "receivedHistory"
4586         stereotype "signal"
4587         protected explicit_return_type "void"
4588         nparams 1
4589           param in name "history" explicit_type "QList<Move>"
4590         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4592         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4593   ${body}}
4595         
4596         
4597         
4598       end
4599     end
4601     class 129296 "ServerSocket"
4602       visibility package 
4603       cpp_decl "${comment}${template}class ${name}${inherit} {
4604 ${members}};
4605 ${inlines}
4607       java_decl ""
4608       php_decl ""
4609       idl_decl ""
4610       explicit_switch_type ""
4611       
4612       classrelation 129231 // <generalisation>
4613         relation 129231 ---|>
4614           a public
4615             cpp default "${type}"
4616             classrelation_ref 129231 // <generalisation>
4617           b parent class_ref 129231 // StreamSocket
4618       end
4620       operation 129187 "ServerSocket"
4621         public explicit_return_type ""
4622         nparams 1
4623           param in name "socket" type class_ref 129340 // QTcpSocket
4624         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4626         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4627   ${body}}
4629         
4630         
4631         
4632       end
4634       operation 130895 "acceptJoin"
4635         public explicit_return_type "void"
4636         nparams 1
4637           param in name "id" explicit_type "int"
4638         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4640         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4641   ${body}}
4643         
4644         
4645         
4646       end
4648       operation 131023 "refuseJoin"
4649         public explicit_return_type "void"
4650         nparams 1
4651           param in name "cause" explicit_type "int"
4652         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4654         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4655   ${body}}
4657         
4658         
4659         
4660       end
4662       operation 131151 "sendGameSettings"
4663         stereotype "slot"
4664         public explicit_return_type "void"
4665         nparams 4
4666           param in name "d1" explicit_type "int"
4667           param in name "d2" explicit_type "int"
4668           param in name "timer" explicit_type "int"
4669           param in name "playing" explicit_type "bool"
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}{
4673   ${body}}
4675         
4676         
4677         
4678       end
4680       operation 131279 "sendHistory"
4681         stereotype "slot"
4682         public explicit_return_type "void"
4683         nparams 1
4684           param in name "history" explicit_type "QList<Move>"
4685         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4687         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4688   ${body}}
4690         
4691         
4692         
4693       end
4695       operation 131407 "sendPlayerJoined"
4696         stereotype "slot"
4697         public explicit_return_type "void"
4698         nparams 3
4699           param in name "id" explicit_type "int"
4700           param in name "name" type class_ref 128440 // QString
4701           param in name "type" type class_ref 128440 // QString
4702         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4704         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4705   ${body}}
4707         
4708         
4709         
4710       end
4712       operation 131535 "sendPlayerLeft"
4713         stereotype "slot"
4714         public explicit_return_type "void"
4715         nparams 1
4716           param in name "id" explicit_type "int"
4717         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4719         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4720   ${body}}
4722         
4723         
4724         
4725       end
4727       operation 131663 "sendStartGame"
4728         stereotype "slot"
4729         public explicit_return_type "void"
4730         nparams 0
4731         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4733         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4734   ${body}}
4736         
4737         
4738         
4739       end
4741       operation 131791 "parseData"
4742         stereotype "slot"
4743         protected explicit_return_type "void"
4744         nparams 0
4745         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4747         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4748   ${body}}
4750         
4751         
4752         
4753       end
4755       operation 131919 "joinRequested"
4756         stereotype "signal"
4757         protected explicit_return_type "void"
4758         nparams 2
4759           param in name "mode" type class_ref 128440 // QString
4760           param in name "name" type class_ref 128440 // QString
4761         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4763         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4764   ${body}}
4766         
4767         
4768         
4769       end
4770     end
4772     class 129340 "QTcpSocket"
4773       visibility package 
4774       cpp_decl "${comment}${template}class ${name}${inherit} {
4775 ${members}};
4776 ${inlines}
4778       java_decl ""
4779       php_decl ""
4780       idl_decl ""
4781       explicit_switch_type ""
4782       
4783       operation 130448 "connected"
4784         stereotype "signal"
4785         protected explicit_return_type "void"
4786         nparams 0
4787         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4789         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4790   ${body}}
4792         
4793         
4794         
4795       end
4797       operation 130576 "error"
4798         stereotype "signal"
4799         protected explicit_return_type "void"
4800         nparams 1
4801           param in name "socketError" explicit_type "QAbstractSocket::SocketError"
4802         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4804         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4805   ${body}}
4807         
4808         
4809         
4810       end
4812       operation 130320 "readyRead"
4813         stereotype "signal"
4814         protected explicit_return_type "void"
4815         nparams 0
4816         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4818         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4819   ${body}}
4821         
4822         
4823         
4824       end
4825     end
4827     class 129212 "QTcpServer"
4828       visibility package 
4829       cpp_decl "${comment}${template}class ${name}${inherit} {
4830 ${members}};
4831 ${inlines}
4833       java_decl ""
4834       php_decl ""
4835       idl_decl ""
4836       explicit_switch_type ""
4837       
4838       operation 130192 "newConnection"
4839         stereotype "signal"
4840         protected explicit_return_type "void"
4841         nparams 0
4842         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4844         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4845   ${body}}
4847         
4848         
4849         
4850       end
4851     end
4853     class 129473 "QXmlStreamReader"
4854       visibility package 
4855       cpp_decl "${comment}${template}class ${name}${inherit} {
4856 ${members}};
4857 ${inlines}
4859       java_decl ""
4860       php_decl ""
4861       idl_decl ""
4862       explicit_switch_type ""
4863       
4864     end
4866     class 129601 "QXmlStreamWriter"
4867       visibility package 
4868       cpp_decl "${comment}${template}class ${name}${inherit} {
4869 ${members}};
4870 ${inlines}
4872       java_decl ""
4873       php_decl ""
4874       idl_decl ""
4875       explicit_switch_type ""
4876       
4877     end
4879     class 128003 "ThreatSearchAI"
4880       visibility package 
4881       cpp_decl "${comment}${template}class ${name}${inherit} {
4882 ${members}};
4883 ${inlines}
4885       java_decl ""
4886       php_decl ""
4887       idl_decl ""
4888       explicit_switch_type ""
4889       
4890       classrelation 128003 // <realization>
4891         relation 128003 -_-|>
4892           a public
4893             cpp default "${type}"
4894             classrelation_ref 128003 // <realization>
4895           b parent class_ref 129941 // AI
4896       end
4898       operation 131203 "ThreatSearchAI"
4899         public explicit_return_type ""
4900         nparams 1
4901           param in name "id" explicit_type "int"
4902         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4904         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4905   ${body}}
4907         
4908         
4909         
4910       end
4912       operation 128091 "~ThreatSerachAI"
4913         public explicit_return_type ""
4914         nparams 0
4915         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4917         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4918   ${body}}
4920         
4921         
4922         
4923       end
4925       attribute 128003 "_d1"
4926         protected explicit_type "int"
4927         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4929         java_decl ""
4930         php_decl ""
4931         idl_decl ""
4932       end
4934       attribute 128131 "_d2"
4935         protected explicit_type "int"
4936         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4938         java_decl ""
4939         php_decl ""
4940         idl_decl ""
4941       end
4943       attribute 128259 "_threat"
4944         protected type class_ref 128131 // Threat
4945         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4947         java_decl ""
4948         php_decl ""
4949         idl_decl ""
4950       end
4952       attribute 128387 "_mat"
4953         protected type class_ref 129557 // GameMatrix
4954         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4956         java_decl ""
4957         php_decl ""
4958         idl_decl ""
4959       end
4961       operation 131331 "init"
4962         public explicit_return_type "void"
4963         nparams 0
4964         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4966         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4967   ${body}}
4969         
4970         
4971         
4972       end
4974       operation 130947 "move"
4975         cpp_virtual public return_type class_ref 129173 // Point
4976         nparams 1
4977           param in name "level" explicit_type "int"
4978         
4979         
4980         
4981         
4982       end
4984       operation 131075 "forceMove"
4985         cpp_virtual public explicit_return_type "void"
4986         nparams 0
4987         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4989         
4990         
4991         
4992       end
4994       operation 131843 "movesUndone"
4995         cpp_virtual public explicit_return_type "void"
4996         nparams 0
4997         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4999         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5000   ${body}}
5002         
5003         
5004         
5005       end
5007       operation 131587 "createThreat"
5008         protected explicit_return_type "Threat*"
5009         nparams 0
5010         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5012         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5013   ${body}}
5015         
5016         
5017         
5018       end
5020       operation 131459 "defenseHook"
5021         protected return_type class_ref 129173 // Point
5022         nparams 0
5023         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5025         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5026   ${body}}
5028         
5029         
5030         
5031       end
5033       operation 131715 "defense"
5034         private return_type class_ref 129173 // Point
5035         nparams 1
5036           param in name "level" explicit_type "int"
5037         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5039         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5040   ${body}}
5042         
5043         
5044         
5045       end
5047       classrelation 128387 // <composition>
5048         relation 128387 *---
5049           a role_name "" multiplicity "0..1" protected
5050             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5052             classrelation_ref 128387 // <composition>
5053           b role_name "" protected
5054             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5056             classrelation_ref 128515 // <composition>
5057       end
5058     end
5060     class 128131 "Threat"
5061       visibility package 
5062       cpp_decl "${comment}${template}class ${name}${inherit} {
5063 ${members}};
5064 ${inlines}
5066       java_decl ""
5067       php_decl ""
5068       idl_decl ""
5069       explicit_switch_type ""
5070       
5071       class 128643 "Direction"
5072         visibility public stereotype "enum"
5073         cpp_decl "${comment}enum ${name} {
5074 ${items}
5077         java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5078 ${items};
5079 ${members}}
5081         php_decl "${comment}final ${visibility}class ${name} {
5082 ${items}}
5084         idl_decl "${comment}enum ${name} {
5085 ${items}};
5087         explicit_switch_type ""
5088         
5089         attribute 130179 "DIR_X"
5090           public type class_ref 128643 // Direction
5091           cpp_decl "  ${name}${value},${comment}"
5092           java_decl ""
5093           php_decl ""
5094           idl_decl ""
5095         end
5097         attribute 130307 "DIR_Y"
5098           public type class_ref 128643 // Direction
5099           cpp_decl "  ${name}${value},${comment}"
5100           java_decl ""
5101           php_decl ""
5102           idl_decl ""
5103         end
5105         attribute 130563 "DIR_Z"
5106           public type class_ref 128643 // Direction
5107           cpp_decl "  ${name}${value},${comment}"
5108           java_decl ""
5109           php_decl ""
5110           idl_decl ""
5111         end
5112       end
5114       class 128515 "Node"
5115         visibility private 
5116         cpp_decl "${comment}${template}class ${name}${inherit} {
5117 ${members}};
5118 ${inlines}
5120         java_decl ""
5121         php_decl ""
5122         idl_decl ""
5123         explicit_switch_type ""
5124         
5125         attribute 129539 "value"
5126           public explicit_type "int"
5127           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5129           java_decl ""
5130           php_decl ""
5131           idl_decl ""
5132         end
5134         attribute 129667 "point"
5135           public type class_ref 129173 // Point
5136           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5138           java_decl ""
5139           php_decl ""
5140           idl_decl ""
5141         end
5143         attribute 129795 "dir"
5144           public type class_ref 128739 // Direction
5145           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5147           java_decl ""
5148           php_decl ""
5149           idl_decl ""
5150         end
5152         attribute 129923 "par"
5153           public explicit_type "Node**"
5154           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5156           java_decl ""
5157           php_decl ""
5158           idl_decl ""
5159         end
5161         attribute 130051 "next"
5162           public explicit_type "Node*"
5163           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5165           java_decl ""
5166           php_decl ""
5167           idl_decl ""
5168         end
5170         classrelation 128643 // <unidirectional association>
5171           relation 128515 --->
5172             a role_name "" protected
5173               cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5175               classrelation_ref 128643 // <unidirectional association>
5176             b multiplicity "*" parent class_ref 128643 // Direction
5177         end
5179         operation 133635 "Node"
5180           public explicit_return_type ""
5181           nparams 3
5182             param in name "val" explicit_type "int"
5183             param in name "p" type class_ref 129173 // Point
5184             param in name "dir" type class_ref 128739 // Direction
5185           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5187           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5188   ${body}}
5190           
5191           
5192           
5193         end
5195         operation 133507 "~Node"
5196           public explicit_return_type ""
5197           nparams 0
5198           cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5200           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5201   ${body}}
5203           
5204           
5205           
5206         end
5208         classrelation 129461 // <directional composition>
5209           relation 129333 *-->
5210             a role_name "" multiplicity "0..1" protected
5211               cpp default "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5213               classrelation_ref 129461 // <directional composition>
5214             b parent class_ref 128515 // Node
5215         end
5216       end
5218       attribute 128515 "_ai"
5219         protected explicit_type "ThreatSearchAI*"
5220         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5222         java_decl ""
5223         php_decl ""
5224         idl_decl ""
5225       end
5227       attribute 128643 "_mat"
5228         protected explicit_type "GameMatrix*"
5229         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5231         java_decl ""
5232         php_decl ""
5233         idl_decl ""
5234       end
5236       attribute 128771 "_d1"
5237         protected explicit_type "int"
5238         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5240         java_decl ""
5241         php_decl ""
5242         idl_decl ""
5243       end
5245       attribute 128899 "_d2"
5246         protected explicit_type "int"
5247         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5249         java_decl ""
5250         php_decl ""
5251         idl_decl ""
5252       end
5254       attribute 129027 "_x"
5255         private explicit_type "QMap<Point,Node*>"
5256         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5258         java_decl ""
5259         php_decl ""
5260         idl_decl ""
5261       end
5263       attribute 129155 "_y"
5264         private explicit_type "QMap<Point,Node*>"
5265         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5267         java_decl ""
5268         php_decl ""
5269         idl_decl ""
5270       end
5272       attribute 129283 "_z"
5273         private explicit_type "QMap<Point,Node*>"
5274         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5276         java_decl ""
5277         php_decl ""
5278         idl_decl ""
5279       end
5281       attribute 129411 "_priority"
5282         private explicit_type "Node**"
5283         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5285         java_decl ""
5286         php_decl ""
5287         idl_decl ""
5288       end
5290       operation 132355 "Threat"
5291         public explicit_return_type ""
5292         nparams 1
5293           param in name "ai" explicit_type "ThreatSearchAI*"
5294         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5296         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5297   ${body}}
5299         
5300         
5301         
5302       end
5304       operation 128219 "~Threat"
5305         public explicit_return_type ""
5306         nparams 0
5307         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5309         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5310   ${body}}
5312         
5313         
5314         
5315       end
5317       operation 132483 "insert"
5318         public explicit_return_type "void"
5319         nparams 1
5320           param in name "point" type class_ref 129173 // Point
5321         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5323         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5324   ${body}}
5326         
5327         
5328         
5329       end
5331       classrelation 128515 // <composition>
5332         relation_ref 128387 // <composition>
5333       end
5335       operation 132611 "scanFromMatrix"
5336         public explicit_return_type "void"
5337         nparams 0
5338         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5340         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5341   ${body}}
5343         
5344         
5345         
5346       end
5348       operation 132739 "insertHook"
5349         protected explicit_return_type "void"
5350         nparams 1
5351           param in name "p" type class_ref 129173 // Point
5352         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5354         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5355   ${body}}
5357         
5358         
5359         
5360       end
5362       operation 132867 "scanFromMatrixHook"
5363         protected explicit_return_type "void"
5364         nparams 0
5365         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5367         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5368   ${body}}
5370         
5371         
5372         
5373       end
5375       operation 132995 "removeFromPriority"
5376         private explicit_return_type "void"
5377         nparams 1
5378           param in name "it" explicit_type "Node*"
5379         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5381         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5382   ${body}}
5384         
5385         
5386         
5387       end
5389       operation 133123 "insertInPriority"
5390         private explicit_return_type "void"
5391         nparams 1
5392           param in name "it" explicit_type "Node*"
5393         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5395         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5396   ${body}}
5398         
5399         
5400         
5401       end
5403       operation 133251 "evalInsert"
5404         private explicit_return_type "void"
5405         nparams 3
5406           param in name "p" type class_ref 129173 // Point
5407           param in name "index" explicit_type "int"
5408           param in name "dir" type class_ref 128739 // Direction
5409         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5411         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5412   ${body}}
5414         
5415         
5416         
5417       end
5419       operation 133379 "evalPriority"
5420         private explicit_return_type "int"
5421         nparams 2
5422           param in name "p" type class_ref 129173 // Point
5423           param in name "dir" type class_ref 128739 // Direction
5424         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5426         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5427   ${body}}
5429         
5430         
5431         
5432       end
5434       classrelation 128899 // <directional composition>
5435         relation 128771 *-->
5436           a role_name "" multiplicity "*" protected
5437             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5439             classrelation_ref 128899 // <directional composition>
5440           b parent class_ref 128515 // Node
5441       end
5442     end
5444     class 128387 "CCThreat"
5445       visibility package 
5446       cpp_decl "${comment}${template}class ${name}${inherit} {
5447 ${members}};
5448 ${inlines}
5450       java_decl ""
5451       php_decl ""
5452       idl_decl ""
5453       explicit_switch_type ""
5454       
5455       attribute 130691 "_opponentCC"
5456         private explicit_type "QVector<QList<ConnectedComponent>>"
5457         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5459         java_decl ""
5460         php_decl ""
5461         idl_decl ""
5462       end
5464       operation 133763 "CCThreat"
5465         public explicit_return_type ""
5466         nparams 1
5467           param in name "ai" explicit_type "CCThreatSearchAI*"
5468         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5470         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5471   ${body}}
5473         
5474         
5475         
5476       end
5478       classrelation 128771 // <generalisation>
5479         relation 128643 ---|>
5480           a public
5481             cpp default "${type}"
5482             classrelation_ref 128771 // <generalisation>
5483           b parent class_ref 128131 // Threat
5484       end
5486       operation 133891 "insertHook"
5487         protected explicit_return_type "void"
5488         nparams 1
5489           param in name "p" type class_ref 129173 // Point
5490         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5492         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5493   ${body}}
5495         
5496         
5497         
5498       end
5500       operation 134019 "scanFromMatrixHook"
5501         protected explicit_return_type "void"
5502         nparams 0
5503         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5505         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5506   ${body}}
5508         
5509         
5510         
5511       end
5513       operation 134147 "find"
5514         private explicit_return_type "int"
5515         nparams 2
5516           param in name "id" explicit_type "int"
5517           param in name "p" type class_ref 129173 // Point
5518         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5520         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5521   ${body}}
5523         
5524         
5525         
5526       end
5528       operation 134275 "explore"
5529         private explicit_return_type "void"
5530         nparams 3
5531           param in name "p" type class_ref 129173 // Point
5532           param in name "id" explicit_type "int"
5533           param inout name "set" explicit_type "QSet<Point>"
5534         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5536         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5537   ${body}}
5539         
5540         
5541         
5542       end
5544       operation 134403 "merge"
5545         private explicit_return_type "void"
5546         nparams 2
5547           param in name "p1" type class_ref 129173 // Point
5548           param in name "p2" type class_ref 129173 // Point
5549         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5551         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5552   ${body}}
5554         
5555         
5556         
5557       end
5559       class 128771 "ConnectedComponent"
5560         visibility package 
5561         cpp_decl "${comment}${template}class ${name}${inherit} {
5562 ${members}};
5563 ${inlines}
5565         java_decl ""
5566         php_decl ""
5567         idl_decl ""
5568         explicit_switch_type ""
5569         
5570         operation 134531 "ConnectedComponent"
5571           public explicit_return_type ""
5572           nparams 1
5573             param in name "items" explicit_type "QSet<Point>"
5574           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5576           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5577   ${body}}
5579           
5580           
5581           
5582         end
5584         operation 134659 "ConnectedComponent"
5585           public explicit_return_type ""
5586           nparams 1
5587             param in name "p" type class_ref 129173 // Point
5588           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5590           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5591   ${body}}
5593           
5594           
5595           
5596         end
5598         attribute 130819 "nodes"
5599           public explicit_type "QSet<Point>"
5600           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5602           java_decl ""
5603           php_decl ""
5604           idl_decl ""
5605         end
5607         attribute 130947 "min_x"
5608           public explicit_type "int"
5609           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5611           java_decl ""
5612           php_decl ""
5613           idl_decl ""
5614         end
5616         attribute 131075 "min_y"
5617           public explicit_type "int"
5618           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5620           java_decl ""
5621           php_decl ""
5622           idl_decl ""
5623         end
5625         attribute 131203 "min_z"
5626           public explicit_type "int"
5627           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5629           java_decl ""
5630           php_decl ""
5631           idl_decl ""
5632         end
5634         attribute 131331 "max_x"
5635           public explicit_type "int"
5636           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5638           java_decl ""
5639           php_decl ""
5640           idl_decl ""
5641         end
5643         attribute 131459 "max_y"
5644           public explicit_type "int"
5645           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5647           java_decl ""
5648           php_decl ""
5649           idl_decl ""
5650         end
5652         attribute 131587 "max_z"
5653           public explicit_type "int"
5654           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5656           java_decl ""
5657           php_decl ""
5658           idl_decl ""
5659         end
5660       end
5662       classrelation 129027 // <directional composition>
5663         relation 128899 *-->
5664           a role_name "" multiplicity "*" protected
5665             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5667             classrelation_ref 129027 // <directional composition>
5668           b parent class_ref 128771 // ConnectedComponent
5669       end
5670     end
5672     class 128259 "CCThreatSearchAI"
5673       visibility package 
5674       cpp_decl "${comment}${template}class ${name}${inherit} {
5675 ${members}};
5676 ${inlines}
5678       java_decl ""
5679       php_decl ""
5680       idl_decl ""
5681       explicit_switch_type ""
5682       
5683       classrelation 128259 // <generalisation>
5684         relation 128259 ---|>
5685           a public
5686             cpp default "${type}"
5687             classrelation_ref 128259 // <generalisation>
5688           b parent class_ref 128003 // ThreatSearchAI
5689       end
5691       operation 132227 "CCThreatSearchAI"
5692         public explicit_return_type ""
5693         nparams 1
5694           param in name "id" explicit_type "int"
5695         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5697         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5698   ${body}}
5700         
5701         
5702         
5703       end
5705       operation 132099 "createThreat"
5706         protected explicit_return_type "Threat*"
5707         nparams 0
5708         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5710         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5711   ${body}}
5713         
5714         
5715         
5716       end
5718       operation 131971 "defenseHook"
5719         protected return_type class_ref 129173 // Point
5720         nparams 0
5721         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5723         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5724   ${body}}
5726         
5727         
5728         
5729       end
5730     end
5732     class 128440 "QString"
5733       visibility package 
5734       cpp_decl "${comment}${template}class ${name}${inherit} {
5735 ${members}};
5736 ${inlines}
5738       java_decl ""
5739       php_decl ""
5740       idl_decl ""
5741       explicit_switch_type ""
5742       
5743     end
5745     class 129199 "QStringList"
5746       visibility package 
5747       cpp_decl "${comment}${template}class ${name}${inherit} {
5748 ${members}};
5749 ${inlines}
5751       java_decl ""
5752       php_decl ""
5753       idl_decl ""
5754       explicit_switch_type ""
5755       
5756     end
5758     class 128182 "QList"
5759       visibility package 
5760       nformals 1
5761       formal name "T" type "typename" explicit_default_value ""
5762         explicit_extends ""
5763       cpp_decl "${comment}${template}class ${name}${inherit} {
5764 ${members}};
5765 ${inlines}
5767       java_decl ""
5768       php_decl ""
5769       idl_decl ""
5770       explicit_switch_type ""
5771       
5772     end
5774     class 128122 "QLinkedList"
5775       visibility package 
5776       nformals 1
5777       formal name "T" type "typename" explicit_default_value ""
5778         explicit_extends ""
5779       cpp_decl "${comment}${template}class ${name}${inherit} {
5780 ${members}};
5781 ${inlines}
5783       java_decl ""
5784       php_decl ""
5785       idl_decl ""
5786       explicit_switch_type ""
5787       
5788     end
5790     class 128054 "QMap"
5791       visibility package 
5792       nformals 2
5793       formal name "K" type "typename" explicit_default_value ""
5794         explicit_extends ""
5795       formal name "T" type "typename" explicit_default_value ""
5796         explicit_extends ""
5797       cpp_decl "${comment}${template}class ${name}${inherit} {
5798 ${members}};
5799 ${inlines}
5801       java_decl ""
5802       php_decl ""
5803       idl_decl ""
5804       explicit_switch_type ""
5805       
5806     end
5808     class 129327 "QVector"
5809       visibility package 
5810       nformals 1
5811       formal name "T" type "typename" explicit_default_value ""
5812         explicit_extends ""
5813       cpp_decl "${comment}${template}class ${name}${inherit} {
5814 ${members}};
5815 ${inlines}
5817       java_decl ""
5818       php_decl ""
5819       idl_decl ""
5820       explicit_switch_type ""
5821       
5822     end
5824     sequencediagram 128054 "InitSequence"
5825       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
5826       size A1
5827     end
5829     sequencediagram 128148 "GameLoop::run"
5830       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5831       overlapping_bars size A3
5832     end
5834     sequencediagram 128213 "HumanPlayer::doMove"
5835       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5836       overlapping_bars size A3
5837     end
5839     sequencediagram 129168 "RemotePlayer::doMove"
5840       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5841       overlapping_bars size A3
5842     end
5844     sequencediagram 128024 "AIPlayer::doMove"
5845       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
5846       overlapping_bars size A3
5847     end
5849     activity 128011 "GameMatrix::add"
5850       activitydiagram 128011 "add"
5851         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
5852         show_infonote default drawing_language default
5853         size A3
5854       end
5856       parameter 128011 "move" explicit_type ""
5857         unordered 
5858         in
5859         flow 128011 "<flow>"
5860           on pin_ref 128011 // m
5861         end
5862       end
5864       activitynode 128011 initial ""
5865         flow 128139 "<flow>"
5866           on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
5867         end
5868       end
5870       activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
5871         opaque_action
5872         pin 128011 "m" explicit_type ""
5873           unordered 
5874           in
5875         end
5877         flow 128267 "<flow>"
5878           on expansionnode_ref 128011 // dir
5879         end
5880       end
5882       expansionregion 128011 ""
5883         iterative
5884         expansionnode 128011 "dir"
5885            explicit_type ""
5886           unordered is_control
5887           flow 128395 "<flow>"
5888             on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
5889           end
5890         end
5892         activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
5893           opaque_action
5894           flow 129419 "<flow>"
5895             on activitynode_ref 128395 // merge
5896           end
5897         end
5899         activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
5900           opaque_action
5901           pin 128139 "d" explicit_type ""
5902             unordered 
5903             out
5904             flow 130955 "<flow>"
5905               on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
5906             end
5907           end
5908         end
5910         activityaction 128395 "i = i + 1"
5911           opaque_action
5912           flow 129675 "<flow>"
5913             on activitynode_ref 128395 // merge
5914           end
5915         end
5917         activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
5918           opaque_action
5919           flow 129163 "<flow>"
5920             on activitynode_ref 128267 // decision
5921           end
5922         end
5924         activitynode 128267 decision ""
5925           flow 129291 "<flow>"
5926             on activityaction_ref 128395 // activity action i = i + 1
5927               uml_guard "elementAt(k) == m.playerId()"
5928           end
5930           flow 130571 "<flow>"
5931             on activityaction_ref 128779 // activity action i = 0, start = start + 1
5932               uml_guard "else"
5933           end
5935           flow 130699 "<flow>"
5936             on activitynode_ref 128779 // flow_final
5937               uml_guard "elementAt(k) == -2"
5938           end
5939         end
5941         activitynode 128395 merge ""
5942           flow 129248 "<flow>"
5943             on activitynode_ref 129248 // decision
5944           end
5945         end
5947         activitynode 128523 decision ""
5948           flow 129803 "<flow>"
5949             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
5950               uml_guard "else"
5951           end
5953           flow 129632 "<flow>"
5954             on activitynode_ref 128779 // flow_final
5955               uml_guard "start > m.point().d()"
5956           end
5957         end
5959         expansionnode 128139 ""
5960            explicit_type ""
5961           unordered is_control
5962           flow 131595 "<flow>"
5963             on activitynode_ref 129035 // decision
5964           end
5965         end
5967         activitynode 129248 decision ""
5968           flow 129376 "<flow>"
5969             on activitynode_ref 128523 // decision
5970               uml_guard "i < _d1"
5971           end
5973           flow 129760 "<flow>"
5974             on activitynode_ref 129291 // merge
5975               uml_guard "else"
5976           end
5977         end
5978       end
5980       parameter 128139 "win" explicit_type ""
5981         unordered is_control
5982         out
5983       end
5985       activityaction 128651 "win = true"
5986         opaque_action
5987         flow 130187 "<flow>"
5988           on activitynode_ref 128651 // merge
5989         end
5990       end
5992       activitynode 128651 merge ""
5993         flow 130315 "<flow>"
5994           on parameter_ref 128139 // win
5995         end
5996       end
5998       activityaction 128779 "i = 0, start = start + 1"
5999         opaque_action
6000         flow 130827 "<flow>"
6001           on activitynode_ref 128395 // merge
6002         end
6003       end
6005       activitynode 128779 flow_final ""
6006       end
6008       activityaction 128907 "win = false"
6009         opaque_action
6010         flow 131211 "<flow>"
6011           on activitynode_ref 128651 // merge
6012         end
6013       end
6015       activitynode 128907 merge ""
6016         flow 131339 "<flow>"
6017           on activityaction_ref 128907 // activity action win = false
6018         end
6019       end
6021       activityaction 129035 "set = {}, extractCC(point, id, set)"
6022         opaque_action
6023         flow 131979 "<flow>"
6024           on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
6025         end
6026       end
6028       activitynode 129035 decision ""
6029         flow 131723 "<flow>"
6030           on activitynode_ref 128907 // merge
6031             uml_guard "else"
6032         end
6034         flow 131851 "<flow>"
6035           on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
6036             uml_guard "_d2 == 3"
6037         end
6038       end
6040       activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
6041         opaque_action
6042         pin 128267 "estremi" explicit_type ""
6043            multiplicity "3" unordered 
6044           out
6045           flow 132107 "<flow>"
6046             on activitynode_ref 129163 // decision
6047           end
6048         end
6049       end
6051       activitynode 129163 decision ""
6052         flow 132491 "<flow>"
6053           on activitynode_ref 129291 // merge
6054             uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
6055         end
6057         flow 132619 "<flow>"
6058           on activitynode_ref 128907 // merge
6059             uml_guard "else"
6060         end
6061       end
6063       activitynode 129291 merge ""
6064         flow 132235 "<flow>"
6065           on activityaction_ref 128651 // activity action win = true
6066         end
6067       end
6068     end
6070     class 128083 "Ui_chatw"
6071       visibility package 
6072       cpp_decl "${comment}${template}class ${name}${inherit} {
6073 ${members}};
6074 ${inlines}
6076       java_decl ""
6077       php_decl ""
6078       idl_decl ""
6079       explicit_switch_type ""
6080       
6081     end
6083     class 128211 "Ui_plwidget"
6084       visibility package 
6085       cpp_decl "${comment}${template}class ${name}${inherit} {
6086 ${members}};
6087 ${inlines}
6089       java_decl ""
6090       php_decl ""
6091       idl_decl ""
6092       explicit_switch_type ""
6093       
6094     end
6096     class 128339 "Ui_StandAloneDialog"
6097       visibility package 
6098       cpp_decl "${comment}${template}class ${name}${inherit} {
6099 ${members}};
6100 ${inlines}
6102       java_decl ""
6103       php_decl ""
6104       idl_decl ""
6105       explicit_switch_type ""
6106       
6107     end
6109     class 128467 "StandAloneDialog"
6110       visibility package 
6111       cpp_decl "${comment}${template}class ${name}${inherit} {
6112 ${members}};
6113 ${inlines}
6115       java_decl ""
6116       php_decl ""
6117       idl_decl ""
6118       explicit_switch_type ""
6119       
6120       classrelation 128339 // <generalisation>
6121         relation 128339 ---|>
6122           a public
6123             cpp default "${type}"
6124             classrelation_ref 128339 // <generalisation>
6125           b parent class_ref 128339 // Ui_StandAloneDialog
6126       end
6128       operation 128339 "playersChanged"
6129         stereotype "<<slot>>"
6130         private explicit_return_type "void"
6131         nparams 1
6132           param in name "number" explicit_type "int"
6133         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6135         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6136   ${body}}
6138         
6139         
6140         
6141       end
6143       operation 128467 "accept"
6144         stereotype "<<slot>>"
6145         public explicit_return_type "void"
6146         nparams 0
6147         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6149         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6150   ${body}}
6152         
6153         
6154         
6155       end
6156     end
6158     class 128595 "Ui_ServSetDialog"
6159       visibility package 
6160       cpp_decl "${comment}${template}class ${name}${inherit} {
6161 ${members}};
6162 ${inlines}
6164       java_decl ""
6165       php_decl ""
6166       idl_decl ""
6167       explicit_switch_type ""
6168       
6169     end
6171     class 128723 "ServSetDialog"
6172       visibility package 
6173       cpp_decl "${comment}${template}class ${name}${inherit} {
6174 ${members}};
6175 ${inlines}
6177       java_decl ""
6178       php_decl ""
6179       idl_decl ""
6180       explicit_switch_type ""
6181       
6182       classrelation 128595 // <generalisation>
6183         relation 128595 ---|>
6184           a public
6185             cpp default "${type}"
6186             classrelation_ref 128595 // <generalisation>
6187           b parent class_ref 128595 // Ui_ServSetDialog
6188       end
6190       operation 128595 "playersChanged"
6191         stereotype "<<slot>>"
6192         private explicit_return_type "void"
6193         nparams 1
6194           param in name "number" explicit_type "int"
6195         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6197         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6198   ${body}}
6200         
6201         
6202         
6203       end
6205       operation 128723 "accept"
6206         stereotype "<<slot>>"
6207         public explicit_return_type "void"
6208         nparams 0
6209         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6211         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6212   ${body}}
6214         
6215         
6216         
6217       end
6219       operation 128851 "ServSetDialog"
6220         public explicit_return_type ""
6221         nparams 0
6222         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
6224         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6225   ${body}}
6227         
6228         
6229         
6230       end
6231     end
6232   end
6234   package_ref 128002 // GUI
6236   package_ref 128130 // Network
6238   package_ref 128258 // Core
6240   package_ref 128386 // AI