Various additions and fixes to the 'GUI' component.
[GoMoku3D.git] / class_diagram / class_diagram.prj
blob878c3ea106795c2d6afd8a8da435cd1696029835
1 format 49
2 "class_diagram"
3   revision 80
4   modified_by 117 "davide"
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 128081 "connectToServer"
460         stereotype "slot"
461         public explicit_return_type "void"
462         nparams 2
463           param in name "ip" type class_ref 128440 // QString
464           param in name "port" type class_ref 128440 // QString
465         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
467         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
468   ${body}}
470         
471         
472         
473       end
475       operation 128721 "newOnlineGame"
476         stereotype "slot"
477         public explicit_return_type "void"
478         nparams 0
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 128849 "newServerGame"
490         stereotype "slot"
491         public 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       operation 128020 "playerWin"
504         stereotype "slot"
505         public explicit_return_type "void"
506         nparams 1
507           param in name "playerId" explicit_type "int"
508         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
510         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
511   ${body}}
513         
514         
515         
516       end
518       operation 128276 "playersDraw"
519         stereotype "slot"
520         public explicit_return_type "void"
521         nparams 1
522           param in name "playersIds" explicit_type "QList<int>"
523         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
525         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
526   ${body}}
528         
529         
530         
531       end
533       operation 130360 "forceMove"
534         stereotype "signal"
535         protected explicit_return_type "void"
536         nparams 0
537         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
539         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
540   ${body}}
542         
543         
544         
545         comment "connesso allo slot GameLoop::forceMove()"
546       end
548       classrelation 128113 // <unidirectional association>
549         relation 128113 --->
550           a role_name "" protected
551             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
553             classrelation_ref 128113 // <unidirectional association>
554           b parent class_ref 128467 // StandAloneDialog
555       end
557       classrelation 128241 // <unidirectional association>
558         relation 128241 --->
559           a role_name "" protected
560             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
562             classrelation_ref 128241 // <unidirectional association>
563           b parent class_ref 128081 // OnlineDialog
564       end
566       classrelation 128369 // <unidirectional association>
567         relation 128369 --->
568           a role_name "" protected
569             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
571             classrelation_ref 128369 // <unidirectional association>
572           b parent class_ref 128723 // ServSetDialog
573       end
574     end
576     class 128661 "RenderWidget"
577       visibility package 
578       cpp_decl "${comment}${template}class ${name}${inherit} {
579 ${members}};
580 ${inlines}
582       java_decl ""
583       php_decl ""
584       idl_decl ""
585       explicit_switch_type ""
586       
587       associated_diagram classdiagram_ref 128021 // Global
588       classrelation 128277 // <generalisation>
589         relation 128277 ---|>
590           a public
591             classrelation_ref 128277 // <generalisation>
592           b parent class_ref 128533 // QWidget
593       end
595       attribute 128060 "DefaultCubeColor"
596         class_attribute const_attribute public type class_ref 128253 // QColor
597         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
599         java_decl ""
600         php_decl ""
601         idl_decl ""
602       end
604       attribute 128107 "_renderArea"
605         private type class_ref 128099 // CubeRenderArea
606         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
608         java_decl ""
609         php_decl ""
610         idl_decl ""
611       end
613       operation 128105 "RenderWidget"
614         public explicit_return_type ""
615         nparams 1
616           param in name "dim" explicit_type "int"
617         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}${)}${volatile}${throw};
619         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
620   ${body}}
622         
623         
624         
625       end
627       operation 129385 "acceptMove"
628         public explicit_return_type "void"
629         nparams 1
630           param in name "value" explicit_type "bool"
631         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
633         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
634   ${body}}
636         
637         
638         
639       end
641       operation 128824 "drawMove"
642         public explicit_return_type "bool"
643         nparams 2
644           param in name "point" type class_ref 129173 // Point
645           param in name "color" type class_ref 128253 // QColor
646         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, const ${t1} & ${p1}${)}${const}${volatile}${throw}${abstract};
648         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
649   ${body}}
651         
652         
653         
654         comment "true se la mossa Ã¨ valida altrimenti false
655 chiama il metodo statico di GameMatrix per sapere se la mossa Ã¨ valida e eventualmente la disegna chiamando drawMove di CubeRenderArea"
656       end
658       operation 128828 "uncheckedDraw"
659         public explicit_return_type "void"
660         nparams 2
661           param in name "pointList" explicit_type "QList<Point>"
662           param in name "colorList" explicit_type "QList<QColor>"
663             defaultvalue "0"
664         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
666         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
667   ${body}}
669         
670         
671         
672         comment "se colorList==0 allora usa defaultCubeColor"
673       end
675       operation 128099 "setAntiAliasing"
676         public explicit_return_type "void"
677         nparams 1
678           param in name "value" explicit_type "int"
679         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
681         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
682   ${body}}
684         
685         
686         
687         comment "controlla l'accumulation buffer e setta l'antialiasing"
688       end
690       operation 131000 "highlightPoint"
691         stereotype "slot"
692         public explicit_return_type "void"
693         nparams 1
694           param in name "point" type class_ref 129173 // Point
695         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
697         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
698   ${body}}
700         
701         
702         
703         comment "chiama la selectCube di CubeRenderArea"
704       end
706       classrelation 128099 // <directional composition>
707         relation 128099 *-->
708           a role_name "" multiplicity "0..1" protected
709             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
711             classrelation_ref 128099 // <directional composition>
712           b parent class_ref 128099 // CubeRenderArea
713       end
714     end
716     class 128789 "ChatWidget"
717       visibility package 
718       cpp_decl ""
719       java_decl ""
720       php_decl ""
721       idl_decl ""
722       explicit_switch_type ""
723       
724       operation 128235 "displayText"
725         stereotype "slot"
726         public explicit_return_type "void"
727         nparams 1
728           param in name "text" type class_ref 128440 // QString
729         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
731         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
732   ${body}}
734         
735         
736         
737       end
739       operation 128211 "return"
740         stereotype "slot"
741         public explicit_return_type "void"
742         nparams 0
743         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
745         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
746   ${body}}
748         
749         
750         
751       end
753       operation 128107 "textEntered"
754         stereotype "signal"
755         protected explicit_return_type "void"
756         nparams 1
757           param in name "text" type class_ref 128440 // QString
758         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
760         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
761   ${body}}
763         
764         
765         
766       end
768       classrelation 128122 // <generalisation>
769         relation 128122 ---|>
770           a public
771             cpp default "${type}"
772             classrelation_ref 128122 // <generalisation>
773           b parent class_ref 128533 // QWidget
774       end
775     end
777     class 129045 "Player"
778       abstract visibility package 
779       cpp_decl ""
780       java_decl ""
781       php_decl ""
782       idl_decl ""
783       explicit_switch_type ""
784       
785       operation 128617 "Player"
786         public explicit_return_type ""
787         nparams 1
788           param in name "id" explicit_type "int"
789         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
791         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
792   ${body}}
794         
795         
796         
797       end
799       attribute 128168 "_id"
800         const_attribute private explicit_type "int"
801         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
803         java_decl ""
804         php_decl ""
805         idl_decl ""
806       end
808       operation 128040 "id"
809         const public explicit_return_type "int"
810         nparams 0
811         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
813         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
814   ${body}}
816         
817         
818         
819       end
821       operation 128184 "move"
822         public return_type class_ref 129301 // Move
823         nparams 0
824         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
826         
827         
828         
829       end
831       operation 129155 "doMove"
832         abstract cpp_virtual protected return_type class_ref 129173 // Point
833         nparams 0
834         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
836         
837         
838         
839       end
840     end
842     class 129173 "Point"
843       visibility package 
844       cpp_decl ""
845       java_decl ""
846       php_decl ""
847       idl_decl ""
848       explicit_switch_type ""
849       
850       attribute 128184 "_x"
851         private explicit_type "int"
852         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
854         java_decl ""
855         php_decl ""
856         idl_decl ""
857       end
859       attribute 128312 "_y"
860         private explicit_type "int"
861         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
863         java_decl ""
864         php_decl ""
865         idl_decl ""
866       end
868       attribute 128440 "_z"
869         private explicit_type "int"
870         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
872         java_decl ""
873         php_decl ""
874         idl_decl ""
875       end
877       operation 128875 "Point"
878         public explicit_return_type ""
879         nparams 3
880           param in name "x" explicit_type "int"
881           param in name "y" explicit_type "int"
882           param in name "z" explicit_type "int"
883         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
885         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
886   ${body}}
888         
889         
890         
891       end
893       operation 128378 "isValid"
894         const public explicit_return_type "bool"
895         nparams 0
896         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
898         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
899   ${body}}
901         
902         
903         
904         comment "return true sse il Point this Ã¨ minore della dimensione di GameMatrix."
905       end
907       operation 129282 "isNull"
908         public explicit_return_type "bool"
909         nparams 0
910         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
912         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
913   ${body}}
915         
916         
917         
918         comment "return true iff this == (-1, -1, -1)
919 else return false"
920       end
921     end
923     class 129301 "Move"
924       visibility package 
925       cpp_decl ""
926       java_decl ""
927       php_decl ""
928       idl_decl ""
929       explicit_switch_type ""
930       
931       classrelation 129173 // <directional composition>
932         relation 129173 *-->
933           a role_name "" protected
934             classrelation_ref 129173 // <directional composition>
935           b parent class_ref 129173 // Point
936       end
938       attribute 128405 "_playerId"
939         private explicit_type "int"
940         cpp_decl ""
941         java_decl ""
942         php_decl ""
943         idl_decl ""
944       end
946       attribute 128533 "_coord"
947         private type class_ref 129173 // Point
948         cpp_decl ""
949         java_decl ""
950         php_decl ""
951         idl_decl ""
952       end
954       operation 129641 "Move"
955         public explicit_return_type ""
956         nparams 2
957           param in name "id" explicit_type "int"
958           param in name "p" type class_ref 129173 // Point
959         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
961         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
962   ${body}}
964         
965         
966         
967       end
969       operation 128250 "isValid"
970         const public explicit_return_type "bool"
971         nparams 0
972         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
974         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
975   ${body}}
977         
978         
979         
980         comment "return GameMatrix::check(this._coord);"
981       end
982     end
984     class 129557 "GameMatrix"
985       visibility package 
986       cpp_decl ""
987       java_decl ""
988       php_decl ""
989       idl_decl ""
990       explicit_switch_type ""
991       
992       comment "istanziata da MainWindow e passata poi a GameLoop"
993       attribute 128042 "EmptyPoint"
994         class_attribute const_attribute public explicit_type "int"
995         init_value "-1"
996         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
998         java_decl ""
999         php_decl ""
1000         idl_decl ""
1001       end
1003       attribute 128084 "_instance"
1004         class_attribute private explicit_type "GameMatrix*"
1005         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1007         java_decl ""
1008         php_decl ""
1009         idl_decl ""
1010       end
1012       attribute 128873 "_lastRound"
1013         private explicit_type "QList<Point>"
1014         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1016         java_decl ""
1017         php_decl ""
1018         idl_decl ""
1019         comment "/buffer delle ultime mosse da rivedere"
1020       end
1022       attribute 129129 "_d1"
1023         private explicit_type "int"
1024         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1026         java_decl ""
1027         php_decl ""
1028         idl_decl ""
1029       end
1031       attribute 129257 "_d2"
1032         private explicit_type "int"
1033         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1035         java_decl ""
1036         php_decl ""
1037         idl_decl ""
1038       end
1040       attribute 128148 "_freeCounter"
1041         private explicit_type "int"
1042         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1044         java_decl ""
1045         php_decl ""
1046         idl_decl ""
1047       end
1049       operation 130104 "GameMatrix"
1050         private explicit_return_type ""
1051         nparams 3
1052           param in name "d1" explicit_type "int"
1053           param in name "d2" explicit_type "int"
1054           param in name "numPlayers" explicit_type "int"
1055         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, ${t1} ${p1}, ${t2} ${p2}${)}${volatile}${throw};
1057         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1058   ${body}}
1060         
1061         
1062         
1063       end
1065       operation 129166 "create"
1066         class_operation public explicit_return_type "GameMatrix*"
1067         nparams 3
1068           param in name "d1" explicit_type "int"
1069           param in name "d2" explicit_type "int"
1070           param in name "numPlayers" explicit_type "int"
1071         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1073         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1074   ${body}}
1076         
1077         
1078         
1079       end
1081       operation 129294 "destroy"
1082         class_operation public explicit_return_type "void"
1083         nparams 0
1084         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1086         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1087   ${body}}
1089         
1090         
1091         
1092       end
1094       operation 129620 "instance"
1095         class_operation public explicit_return_type "GameMatrix*"
1096         nparams 0
1097         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1099         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1100   ${body}}
1102         
1103         
1104         
1105       end
1107       operation 129513 "add"
1108         public explicit_return_type "bool"
1109         nparams 1
1110           param in name "move" type class_ref 129301 // Move
1111         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1113         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1114   ${body}}
1116         
1117         
1118         
1119         comment "se la mossa ha portato una vittoria ritorna true altrimenti false"
1120       end
1122       operation 128554 "clear"
1123         public explicit_return_type "void"
1124         nparams 1
1125           param in name "point" type class_ref 129173 // Point
1126         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1128         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1129   ${body}}
1131         
1132         
1133         
1134       end
1136       operation 129748 "check"
1137         class_operation public explicit_return_type "bool"
1138         nparams 1
1139           param in name "point" type class_ref 129173 // Point
1140         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1142         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1143   ${body}}
1145         
1146         
1147         
1148       end
1150       operation 130952 "elementAt"
1151         public explicit_return_type "int"
1152         nparams 1
1153           param in name "point" type class_ref 129173 // Point
1154         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1156         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1157   ${body}}
1159         
1160         
1161         
1162       end
1164       operation 131080 "elementAt"
1165         public explicit_return_type "int"
1166         nparams 3
1167           param in name "x" explicit_type "int"
1168           param in name "y" explicit_type "int"
1169           param in name "z" explicit_type "int"
1170         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1172         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1173   ${body}}
1175         
1176         
1177         
1178       end
1180       operation 128404 "isFull"
1181         const public explicit_return_type "bool"
1182         nparams 0
1183         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1185         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1186   ${body}}
1188         
1189         
1190         
1191       end
1193       operation 130232 "numberOfPlayers"
1194         public explicit_return_type "int"
1195         nparams 0
1196         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1198         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1199   ${body}}
1201         
1202         
1203         
1204         comment "lastRound.size()"
1205       end
1207       operation 128188 "setLastRound"
1208         public explicit_return_type "void"
1209         nparams 1
1210           param in name "round" explicit_type "QList<Point>"
1211         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1213         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1214   ${body}}
1216         
1217         
1218         
1219       end
1221       attribute 128083 "_matrix"
1222         private explicit_type "int*"
1223         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1225         java_decl ""
1226         php_decl ""
1227         idl_decl ""
1228       end
1230       operation 128011 "extractCC"
1231         private explicit_return_type "void"
1232         nparams 3
1233           param in name "p" type class_ref 129173 // Point
1234           param in name "id" explicit_type "int"
1235           param inout name "set" explicit_type "QSet<Point>"
1236         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1238         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1239   ${body}}
1241         
1242         
1243         
1244       end
1245     end
1247     class 129813 "QWaitCondition"
1248       visibility package 
1249       cpp_decl ""
1250       java_decl ""
1251       php_decl ""
1252       idl_decl ""
1253       explicit_switch_type ""
1254       
1255       operation 130025 "wait"
1256         public explicit_return_type "bool"
1257         nparams 2
1258           param in name "lock" type class_ref 130837 // QMutex
1259           param in name "timeout" explicit_type "unsigned long"
1260         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1262         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1263   ${body}}
1265         
1266         
1267         
1268       end
1270       operation 130153 "wakeOne"
1271         public explicit_return_type "void"
1272         nparams 0
1273         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1275         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1276   ${body}}
1278         
1279         
1280         
1281       end
1282     end
1284     class 129941 "AI"
1285       abstract visibility package 
1286       cpp_decl ""
1287       java_decl ""
1288       php_decl ""
1289       idl_decl ""
1290       explicit_switch_type ""
1291       
1292       attribute 128296 "_playerId"
1293         const_attribute private explicit_type "int"
1294         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1296         java_decl ""
1297         php_decl ""
1298         idl_decl ""
1299       end
1301       operation 128084 "AI"
1302         public explicit_return_type ""
1303         nparams 1
1304           param in name "id" explicit_type "int"
1305         
1306         
1307         
1308         
1309       end
1311       operation 128078 "~AI"
1312         cpp_virtual public explicit_return_type ""
1313         nparams 0
1314         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1316         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1317   ${body}}
1319         
1320         
1321         
1322       end
1324       operation 128212 "move"
1325         abstract cpp_virtual public return_type class_ref 129173 // Point
1326         nparams 1
1327           param in name "level" explicit_type "int"
1328         
1329         
1330         
1331         
1332       end
1334       operation 129976 "forceMove"
1335         abstract cpp_virtual public explicit_return_type "void"
1336         nparams 0
1337         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1339         
1340         
1341         
1342       end
1344       operation 130819 "movesUndone"
1345         abstract cpp_virtual public explicit_return_type "void"
1346         nparams 0
1347         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1349         
1350         
1351         
1352       end
1354       operation 130691 "playerId"
1355         public explicit_return_type "int"
1356         nparams 0
1357         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1359         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1360   ${body}}
1362         
1363         
1364         
1365       end
1366     end
1368     class 130069 "Network"
1369       abstract visibility package 
1370       cpp_decl ""
1371       java_decl ""
1372       php_decl ""
1373       idl_decl ""
1374       explicit_switch_type ""
1375       
1376       operation 129980 "Network"
1377         public explicit_return_type ""
1378         nparams 1
1379           param in name "gui" explicit_type "QWidget*"
1380         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1382         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1383   ${body}}
1385         
1386         
1387         
1388       end
1390       operation 129395 "~Network"
1391         cpp_virtual public explicit_return_type ""
1392         nparams 0
1393         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
1395         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1396   ${body}}
1398         
1399         
1400         
1401       end
1403       operation 128122 "requestMove"
1404         abstract cpp_virtual public return_type class_ref 129173 // Point
1405         nparams 0
1406         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1408         
1409         
1410         
1411       end
1413       attribute 129340 "_gui"
1414         private explicit_type "QWidget*"
1415         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1417         java_decl ""
1418         php_decl ""
1419         idl_decl ""
1420       end
1422       operation 129168 "setupChat"
1423         abstract cpp_virtual public explicit_return_type "void"
1424         nparams 1
1425           param in name "widget" explicit_type "ChatWidget*"
1426         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1428         
1429         
1430         
1431       end
1432     end
1434     class 130197 "QThread"
1435       abstract visibility package 
1436       cpp_decl ""
1437       java_decl ""
1438       php_decl ""
1439       idl_decl ""
1440       explicit_switch_type ""
1441       
1442       operation 128319 "start"
1443         public explicit_return_type "void"
1444         nparams 0
1445         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1447         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1448   ${body}}
1450         
1451         
1452         
1453       end
1455       operation 128393 "run"
1456         abstract cpp_virtual protected explicit_return_type "void"
1457         nparams 0
1458         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1460         
1461         
1462         
1463       end
1464     end
1466     class 130325 "GameLoop"
1467       visibility package 
1468       cpp_decl ""
1469       java_decl ""
1470       php_decl ""
1471       idl_decl ""
1472       explicit_switch_type ""
1473       
1474       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."
1475       classrelation 130069 // <realization>
1476         relation 130069 -_-|>
1477           a public
1478             classrelation_ref 130069 // <realization>
1479           b parent class_ref 130197 // QThread
1480       end
1482       attribute 129592 "_currentPlayer"
1483         private explicit_type "Player*"
1484         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1486         java_decl ""
1487         php_decl ""
1488         idl_decl ""
1489         comment "mantenuto consistente per poter effettuare la forceMove()"
1490       end
1492       attribute 128264 "_players"
1493         private explicit_type "QList<Player*>"
1494         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
1496         java_decl ""
1497         php_decl ""
1498         idl_decl ""
1499       end
1501       attribute 128101 "_resetLoop"
1502         private explicit_type "bool"
1503         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1505         java_decl ""
1506         php_decl ""
1507         idl_decl ""
1508       end
1510       attribute 128020 "_winStatus"
1511         private explicit_type "QList<bool>"
1512         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1514         java_decl ""
1515         php_decl ""
1516         idl_decl ""
1517         comment "se winStatus[i]==false allora il player[i] non ha realizzato una condizione di vittoria"
1518       end
1520       operation 128054 "GameLoop"
1521         public explicit_return_type ""
1522         nparams 1
1523           param in name "players" explicit_type "QList<Player>"
1524         cpp_decl "    ${comment}${inline}${name}${(}const ${t0} & ${p0}${)}${volatile}${throw};
1526         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1527   ${body}}
1529         
1530         
1531         
1532       end
1534       operation 128316 "setTurn"
1535         public explicit_return_type "void"
1536         nparams 1
1537           param in name "id" explicit_type "int"
1538         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1540         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1541   ${body}}
1543         
1544         
1545         
1546       end
1548       operation 129781 "onLoadSetTurn"
1549         public explicit_return_type "void"
1550         nparams 1
1551           param in name "plyUndone" explicit_type "int"
1552         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1554         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1555   ${body}}
1557         
1558         
1559         
1560       end
1562       operation 130488 "forceMove"
1563         stereotype "slot"
1564         public explicit_return_type "void"
1565         nparams 0
1566         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1568         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1569   ${body}}
1571         
1572         
1573         
1574       end
1576       operation 128520 "run"
1577         protected explicit_return_type "void"
1578         nparams 0
1579         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1581         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1582   ${body}}
1584         
1585         
1586         
1587       end
1589       operation 128233 "moved"
1590         stereotype "signal"
1591         protected explicit_return_type "void"
1592         nparams 1
1593           param in name "move" type class_ref 129301 // Move
1594         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1596         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1597   ${body}}
1599         
1600         
1601         
1602       end
1604       operation 128264 "turn"
1605         stereotype "signal"
1606         protected explicit_return_type "void"
1607         nparams 1
1608           param in name "playerId" explicit_type "int"
1609         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
1611         
1612         
1613         
1614       end
1616       operation 128148 "win"
1617         stereotype "signal"
1618         protected explicit_return_type "void"
1619         nparams 1
1620           param in name "playerId" explicit_type "int"
1621         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1623         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1624   ${body}}
1626         
1627         
1628         
1629       end
1631       operation 128532 "draw"
1632         stereotype "signal"
1633         protected explicit_return_type "void"
1634         nparams 1
1635           param in name "playersIds" explicit_type "QList<int>"
1636         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1638         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1639   ${body}}
1641         
1642         
1643         
1644       end
1646       classrelation 128042 // <directional composition>
1647         relation 128042 *-->
1648           a role_name "" multiplicity "2..3" protected
1649             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1651             classrelation_ref 128042 // <directional composition>
1652           b parent class_ref 129045 // Player
1653       end
1655       classrelation 129980 // <unidirectional association>
1656         relation 129980 --->
1657           a role_name "" protected
1658             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
1660             classrelation_ref 129980 // <unidirectional association>
1661           b parent class_ref 129557 // GameMatrix
1662       end
1663     end
1665     class 130709 "SyncSharedCondition"
1666       visibility package 
1667       cpp_decl ""
1668       java_decl ""
1669       php_decl ""
1670       idl_decl ""
1671       explicit_switch_type ""
1672       
1673       attribute 128063 "_instance"
1674         class_attribute private explicit_type "SyncSharedCondition*"
1675         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1677         java_decl ""
1678         php_decl ""
1679         idl_decl ""
1680       end
1682       attribute 128105 "_point"
1683         private type class_ref 129173 // Point
1684         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1686         java_decl ""
1687         php_decl ""
1688         idl_decl ""
1689       end
1691       attribute 129557 "_waitCond"
1692         private type class_ref 129813 // QWaitCondition
1693         cpp_decl ""
1694         java_decl ""
1695         php_decl ""
1696         idl_decl ""
1697       end
1699       operation 128191 "SyncSharedCondition"
1700         private explicit_return_type ""
1701         nparams 0
1702         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
1704         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1705   ${body}}
1707         
1708         
1709         
1710       end
1712       operation 128063 "instance"
1713         class_operation public explicit_return_type "SyncSharedCondition*"
1714         nparams 0
1715         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1717         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1718   ${body}}
1720         
1721         
1722         
1723       end
1725       operation 129129 "waitForMove"
1726         public return_type class_ref 129173 // Point
1727         nparams 0
1728         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1730         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1731   ${body}}
1733         
1734         
1735         
1736       end
1738       operation 129257 "notifyMove"
1739         public explicit_return_type "void"
1740         nparams 1
1741           param in name "p" type class_ref 129173 // Point
1742         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1744         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1745   ${body}}
1747         
1748         
1749         
1750       end
1752       classrelation 128105 // <generalisation>
1753         relation 128105 ---|>
1754           a public
1755             cpp default "${type}"
1756             classrelation_ref 128105 // <generalisation>
1757           b parent class_ref 130837 // QMutex
1758       end
1760       classrelation 128168 // <directional composition>
1761         relation 128168 *-->
1762           a role_name "" protected
1763             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1765             classrelation_ref 128168 // <directional composition>
1766           b parent class_ref 129813 // QWaitCondition
1767       end
1768     end
1770     class 130837 "QMutex"
1771       visibility package 
1772       cpp_decl ""
1773       java_decl ""
1774       php_decl ""
1775       idl_decl ""
1776       explicit_switch_type ""
1777       
1778       operation 129769 "lock"
1779         public explicit_return_type "void"
1780         nparams 0
1781         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1783         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1784   ${body}}
1786         
1787         
1788         
1789       end
1791       operation 129897 "unlock"
1792         public explicit_return_type "void"
1793         nparams 0
1794         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1796         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1797   ${body}}
1799         
1800         
1801         
1802       end
1803     end
1805     class 128056 "HumanPlayer"
1806       visibility package 
1807       cpp_decl "${comment}${template}class ${name}${inherit} {
1808 ${members}};
1809 ${inlines}
1811       java_decl ""
1812       php_decl ""
1813       idl_decl ""
1814       explicit_switch_type ""
1815       
1816       operation 128745 "HumanPlayer"
1817         public explicit_return_type ""
1818         nparams 2
1819           param in name "id" explicit_type "int"
1820           param in name "render" explicit_type "RenderWidget*"
1821         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1823         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1824   ${body}}
1826         
1827         
1828         
1829       end
1831       operation 129283 "doMove"
1832         cpp_virtual protected return_type class_ref 129173 // Point
1833         nparams 0
1834         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1836         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1837   ${body}}
1839         
1840         
1841         
1842       end
1844       attribute 128233 "_render"
1845         private explicit_type "RenderWidget*"
1846         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1848         java_decl ""
1849         php_decl ""
1850         idl_decl ""
1851       end
1853       classrelation 128361 // <realization>
1854         relation 128361 -_-|>
1855           a public
1856             cpp default "${type}"
1857             classrelation_ref 128361 // <realization>
1858           b parent class_ref 129045 // Player
1859       end
1860     end
1862     class 128184 "RemotePlayer"
1863       visibility package 
1864       cpp_decl "${comment}${template}class ${name}${inherit} {
1865 ${members}};
1866 ${inlines}
1868       java_decl ""
1869       php_decl ""
1870       idl_decl ""
1871       explicit_switch_type ""
1872       
1873       operation 128873 "RemotePlayer"
1874         public explicit_return_type ""
1875         nparams 2
1876           param in name "id" explicit_type "int"
1877           param in name "net" explicit_type "Network*"
1878         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1880         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1881   ${body}}
1883         
1884         
1885         
1886       end
1888       operation 129411 "doMove"
1889         cpp_virtual protected return_type class_ref 129173 // Point
1890         nparams 0
1891         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1893         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1894   ${body}}
1896         
1897         
1898         
1899       end
1901       attribute 128361 "_net"
1902         private explicit_type "Network*"
1903         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1905         java_decl ""
1906         php_decl ""
1907         idl_decl ""
1908       end
1910       classrelation 128489 // <realization>
1911         relation 128489 -_-|>
1912           a public
1913             cpp default "${type}"
1914             classrelation_ref 128489 // <realization>
1915           b parent class_ref 129045 // Player
1916       end
1917     end
1919     class 128312 "AIPlayer"
1920       visibility package 
1921       cpp_decl "${comment}${template}class ${name}${inherit} {
1922 ${members}};
1923 ${inlines}
1925       java_decl ""
1926       php_decl ""
1927       idl_decl ""
1928       explicit_switch_type ""
1929       
1930       classrelation 128617 // <realization>
1931         relation 128617 -_-|>
1932           a public
1933             cpp default "${type}"
1934             classrelation_ref 128617 // <realization>
1935           b parent class_ref 129045 // Player
1936       end
1938       classrelation 128216 // <directional composition>
1939         relation 128216 *-->
1940           a role_name "" protected
1941             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1943             classrelation_ref 128216 // <directional composition>
1944           b parent class_ref 129941 // AI
1945       end
1947       attribute 128386 "_DefaultSkill"
1948         class_attribute const_attribute private explicit_type "int"
1949         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1951         java_decl ""
1952         php_decl ""
1953         idl_decl ""
1954       end
1956       attribute 128258 "_skill"
1957         private explicit_type "int"
1958         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1960         java_decl ""
1961         php_decl ""
1962         idl_decl ""
1963       end
1965       attribute 128216 "_ai"
1966         private type class_ref 129941 // AI
1967         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
1969         java_decl ""
1970         php_decl ""
1971         idl_decl ""
1972       end
1974       operation 129001 "AIPlayer"
1975         public explicit_return_type ""
1976         nparams 1
1977           param in name "id" explicit_type "int"
1978         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}, const ${t2} & ${p2}${)}${volatile}${throw};
1980         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
1981   ${body}}
1983         
1984         
1985         
1986         comment "inizializza skill con la costante di classe DefaultSkill"
1987       end
1989       operation 129539 "doMove"
1990         cpp_virtual protected return_type class_ref 129173 // Point
1991         nparams 0
1992         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
1994         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
1995   ${body}}
1997         
1998         
1999         
2000       end
2002       operation 129410 "forceMove"
2003         public explicit_return_type "void"
2004         nparams 0
2005         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2007         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2008   ${body}}
2010         
2011         
2012         
2013       end
2015       operation 128002 "skill"
2016         const public explicit_return_type "int"
2017         nparams 0
2018         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2020         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2021   ${body}}
2023         
2024         
2025         
2026       end
2028       operation 128130 "setSkill"
2029         public explicit_return_type "void"
2030         nparams 1
2031           param in name "skill" explicit_type "int"
2032         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2034         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2035   ${body}}
2037         
2038         
2039         
2040       end
2042       operation 130704 "undoMove"
2043         stereotype "slot"
2044         public explicit_return_type "void"
2045         nparams 0
2046         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2048         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2049   ${body}}
2051         
2052         
2053         
2054       end
2055     end
2057     class 129720 "Suggester"
2058       visibility package 
2059       cpp_decl "${comment}${template}class ${name}${inherit} {
2060 ${members}};
2061 ${inlines}
2063       java_decl ""
2064       php_decl ""
2065       idl_decl ""
2066       explicit_switch_type ""
2067       
2068       classrelation 130616 // <realization>
2069         relation 130616 -_-|>
2070           a public
2071             cpp default "${type}"
2072             classrelation_ref 130616 // <realization>
2073           b parent class_ref 130197 // QThread
2074       end
2076       attribute 128130 "_SuggestedMoveLevel"
2077         class_attribute const_attribute private explicit_type "int"
2078         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2080         java_decl ""
2081         php_decl ""
2082         idl_decl ""
2083       end
2085       attribute 128088 "_ai"
2086         private type class_ref 129941 // AI
2087         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2089         java_decl ""
2090         php_decl ""
2091         idl_decl ""
2092       end
2094       operation 130744 "Suggester"
2095         public explicit_return_type ""
2096         nparams 1
2097           param in name "id" explicit_type "int"
2098         cpp_decl "    ${comment}${inline}${name}${(}${t0} ${p0}, const ${t1} & ${p1}${)}${volatile}${throw};
2100         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2101   ${body}}
2103         
2104         
2105         
2106       end
2108       operation 128010 "~Suggester"
2109         public explicit_return_type ""
2110         nparams 0
2111         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
2113         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2114   ${body}}
2116         
2117         
2118         
2119       end
2121       operation 128056 "suggestMove"
2122         public return_type class_ref 129173 // Point
2123         nparams 0
2124         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2126         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2127   ${body}}
2129         
2130         
2131         
2132       end
2134       operation 130616 "run"
2135         protected explicit_return_type "void"
2136         nparams 0
2137         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2139         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2140   ${body}}
2142         
2143         
2144         
2145       end
2147       operation 130872 "suggestedMoveReady"
2148         stereotype "signal"
2149         protected explicit_return_type "void"
2150         nparams 1
2151           param in name "point" type class_ref 129173 // Point
2152         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2154         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2155   ${body}}
2157         
2158         
2159         
2160       end
2162       classrelation 128088 // <directional composition>
2163         relation 128088 *-->
2164           a role_name "" protected
2165             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2167             classrelation_ref 128088 // <directional composition>
2168           b parent class_ref 129941 // AI
2169       end
2170     end
2172     class 129848 "HistoryModel"
2173       visibility package 
2174       cpp_decl "${comment}${template}class ${name}${inherit} {
2175 ${members}};
2176 ${inlines}
2178       java_decl ""
2179       php_decl ""
2180       idl_decl ""
2181       explicit_switch_type ""
2182       
2183       classrelation 128637 // <realization>
2184         relation 128637 -_-|>
2185           a public
2186             cpp default "${type}"
2187             classrelation_ref 128637 // <realization>
2188           b parent class_ref 128509 // QAbstractTableModel
2189       end
2191       attribute 129269 "_actual"
2192         private explicit_type "QModelIndex"
2193         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2195         java_decl ""
2196         php_decl ""
2197         idl_decl ""
2198       end
2200       attribute 130104 "_history"
2201         private explicit_type "QList<Move>"
2202         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2204         java_decl ""
2205         php_decl ""
2206         idl_decl ""
2207       end
2209       operation 129269 "HistoryModel"
2210         public explicit_return_type ""
2211         nparams 0
2212         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2214         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2215   ${body}}
2217         
2218         
2219         
2220       end
2222       operation 128765 "columnCount"
2223         const cpp_virtual public explicit_return_type "int"
2224         nparams 1
2225           param in name "parent" explicit_type "QModelIndex"
2226         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2228         
2229         
2230         
2231       end
2233       operation 128637 "rowCount"
2234         const cpp_virtual public explicit_return_type "int"
2235         nparams 1
2236           param in name "parent" explicit_type "QModelIndex"
2237         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
2239         
2240         
2241         
2242       end
2244       operation 128509 "data"
2245         const cpp_virtual public explicit_return_type "QVariant"
2246         nparams 2
2247           param in name "index" explicit_type "QModelIndex"
2248           param in name "role" explicit_type "int"
2249             defaultvalue "Qt::DisplayRole"
2250         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}, ${t1} ${p1}${)}${const}${volatile}${throw}${abstract};
2252         
2253         
2254         
2255       end
2257       operation 129021 "headerData"
2258         const cpp_virtual public explicit_return_type "QVariant"
2259         nparams 3
2260           param in name "section" explicit_type "int"
2261           param in name "orientation" explicit_type "Qt::Orientation"
2262           param in name "role" explicit_type "int"
2263         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}, const ${t1} & ${p1}, ${t2} ${p2}${)}${const}${volatile}${throw}${abstract};
2265         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2266   ${body}}
2268         
2269         
2270         
2271       end
2273       operation 128893 "flags"
2274         const cpp_virtual public explicit_return_type "Qt::ItemFlags"
2275         nparams 1
2276           param in name "index" explicit_type "QModelIndex"
2277         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2279         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2280   ${body}}
2282         
2283         
2284         
2285       end
2287       operation 129259 "insertRows"
2288         cpp_virtual public explicit_return_type "bool"
2289         nparams 3
2290           param in name "row" explicit_type "int"
2291           param in name "count" explicit_type "int"
2292           param in name "parent" explicit_type "QModelIndex"
2293         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2295         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2296   ${body}}
2298         
2299         
2300         
2301       end
2303       operation 129387 "removeRows"
2304         cpp_virtual public explicit_return_type "bool"
2305         nparams 3
2306           param in name "row" explicit_type "int"
2307           param in name "count" explicit_type "int"
2308           param in name "parent" explicit_type "QModelIndex"
2309         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2311         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2312   ${body}}
2314         
2315         
2316         
2317       end
2319       operation 131128 "append"
2320         public explicit_return_type "void"
2321         nparams 1
2322           param in name "move" type class_ref 129301 // Move
2323         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2325         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2326   ${body}}
2328         
2329         
2330         
2331       end
2333       operation 129442 "moveList"
2334         const public explicit_return_type "QList<Move>"
2335         nparams 0
2336         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2338         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2339   ${body}}
2341         
2342         
2343         
2344       end
2346       operation 129653 "remove"
2347         public explicit_return_type "void"
2348         nparams 1
2349           param in name "num" explicit_type "int"
2350         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2352         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2353   ${body}}
2355         
2356         
2357         
2358       end
2359     end
2361     class 129976 "PlayerInfo"
2362       visibility package 
2363       cpp_decl "${comment}${template}class ${name}${inherit} {
2364 ${members}};
2365 ${inlines}
2367       java_decl ""
2368       php_decl ""
2369       idl_decl ""
2370       explicit_switch_type ""
2371       
2372       attribute 130360 "_name"
2373         private type class_ref 128440 // QString
2374         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2376         java_decl ""
2377         php_decl ""
2378         idl_decl ""
2379       end
2381       attribute 130488 "_color"
2382         private type class_ref 128253 // QColor
2383         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2385         java_decl ""
2386         php_decl ""
2387         idl_decl ""
2388       end
2390       attribute 130616 "_type"
2391         private type class_ref 128440 // QString
2392         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2394         java_decl ""
2395         php_decl ""
2396         idl_decl ""
2397       end
2399       operation 128730 "PlayerInfo"
2400         public explicit_return_type ""
2401         nparams 0
2402         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2404         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2405   ${body}}
2407         
2408         
2409         
2410         comment "costruisce un oggetto di tipo PlayerInfo NON valido, ovvero con type == \"\"."
2411       end
2413       operation 129131 "PlayerInfo"
2414         public explicit_return_type ""
2415         nparams 3
2416           param in name "name" type class_ref 128440 // QString
2417           param in name "color" type class_ref 128253 // QColor
2418           param in name "type" type class_ref 128440 // QString
2419         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2421         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2422   ${body}}
2424         
2425         
2426         
2427       end
2429       operation 128346 "name"
2430         const public return_type class_ref 128440 // QString
2431         nparams 0
2432         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2434         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2435   ${body}}
2437         
2438         
2439         
2440       end
2442       operation 128474 "color"
2443         const public return_type class_ref 128253 // QColor
2444         nparams 0
2445         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2447         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2448   ${body}}
2450         
2451         
2452         
2453       end
2455       operation 128602 "type"
2456         const public return_type class_ref 128440 // QString
2457         nparams 0
2458         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2460         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2461   ${body}}
2463         
2464         
2465         
2466       end
2467     end
2469     class 128125 "QTimer"
2470       visibility package 
2471       cpp_decl "${comment}${template}class ${name}${inherit} {
2472 ${members}};
2473 ${inlines}
2475       java_decl ""
2476       php_decl ""
2477       idl_decl ""
2478       explicit_switch_type ""
2479       
2480       operation 128253 "start"
2481         stereotype "slot"
2482         public explicit_return_type "void"
2483         nparams 1
2484           param in name "msec" explicit_type "int"
2485         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2487         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2488   ${body}}
2490         
2491         
2492         
2493       end
2495       operation 128381 "stop"
2496         stereotype "slot"
2497         public explicit_return_type "void"
2498         nparams 0
2499         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2501         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2502   ${body}}
2504         
2505         
2506         
2507       end
2509       operation 128125 "timeout"
2510         stereotype "signal"
2511         protected explicit_return_type "void"
2512         nparams 0
2513         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2515         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2516   ${body}}
2518         
2519         
2520         
2521       end
2522     end
2524     class 128253 "QColor"
2525       visibility package 
2526       cpp_decl "${comment}${template}class ${name}${inherit} {
2527 ${members}};
2528 ${inlines}
2530       java_decl ""
2531       php_decl ""
2532       idl_decl ""
2533       explicit_switch_type ""
2534       
2535     end
2537     class 128381 "TimerWidget"
2538       visibility package 
2539       cpp_decl "${comment}${template}class ${name}${inherit} {
2540 ${members}};
2541 ${inlines}
2543       java_decl ""
2544       php_decl ""
2545       idl_decl ""
2546       explicit_switch_type ""
2547       
2548       attribute 128125 "_timer"
2549         private type class_ref 128125 // QTimer
2550         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2552         java_decl ""
2553         php_decl ""
2554         idl_decl ""
2555       end
2557       classrelation 128381 // <directional composition>
2558         relation 128381 *-->
2559           a role_name "" protected
2560             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2562             classrelation_ref 128381 // <directional composition>
2563           b parent class_ref 128125 // QTimer
2564       end
2566       classrelation 128509 // <generalisation>
2567         relation 128509 ---|>
2568           a public
2569             cpp default "${type}"
2570             classrelation_ref 128509 // <generalisation>
2571           b parent class_ref 128533 // QWidget
2572       end
2573     end
2575     class 128509 "QAbstractTableModel"
2576       abstract visibility package 
2577       cpp_decl "${comment}${template}class ${name}${inherit} {
2578 ${members}};
2579 ${inlines}
2581       java_decl ""
2582       php_decl ""
2583       idl_decl ""
2584       explicit_switch_type ""
2585       
2586     end
2588     class 128893 "QTableView"
2589       visibility package 
2590       cpp_decl "${comment}${template}class ${name}${inherit} {
2591 ${members}};
2592 ${inlines}
2594       java_decl ""
2595       php_decl ""
2596       idl_decl ""
2597       explicit_switch_type ""
2598       
2599       classrelation 128444 // <generalisation>
2600         relation 128444 ---|>
2601           a public
2602             cpp default "${type}"
2603             classrelation_ref 128444 // <generalisation>
2604           b parent class_ref 128533 // QWidget
2605       end
2607       classrelation 128191 // <dependency>
2608         relation 128191 -_->
2609           a default
2610             cpp default "#include in source"
2611             classrelation_ref 128191 // <dependency>
2612           b parent class_ref 129848 // HistoryModel
2613       end
2615       operation 129397 "clicked"
2616         stereotype "signal"
2617         protected explicit_return_type "void"
2618         nparams 1
2619           param in name "index" explicit_type "QModelIndex"
2620         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2622         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2623   ${body}}
2625         
2626         
2627         
2628       end
2630       operation 129525 "doubleClicked"
2631         stereotype "signal"
2632         protected explicit_return_type "void"
2633         nparams 1
2634           param in name "index" explicit_type "QModelIndex"
2635         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2637         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2638   ${body}}
2640         
2641         
2642         
2643       end
2644     end
2646     class 129021 "PlayersWidget"
2647       visibility package 
2648       cpp_decl "${comment}${template}class ${name}${inherit} {
2649 ${members}};
2650 ${inlines}
2652       java_decl ""
2653       php_decl ""
2654       idl_decl ""
2655       explicit_switch_type ""
2656       
2657       comment "rappresenta turno, colore, tipo, nome dei players"
2658       operation 129149 "PlayersWidget"
2659         public explicit_return_type ""
2660         nparams 1
2661           param in name "info" explicit_type "QList<PlayerInfo>"
2662         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2664         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2665   ${body}}
2667         
2668         
2669         
2670         comment "crea un QLabel per ogni player con \"freccia turno\", colore, tipo, nome."
2671       end
2673       classrelation 128828 // <generalisation>
2674         relation 128828 ---|>
2675           a public
2676             cpp default "${type}"
2677             classrelation_ref 128828 // <generalisation>
2678           b parent class_ref 128533 // QWidget
2679       end
2681       operation 128083 "turnChanged"
2682         stereotype "slot"
2683         public explicit_return_type "void"
2684         nparams 1
2685           param in name "playerid" explicit_type "int"
2686         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2688         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2689   ${body}}
2691         
2692         
2693         
2694       end
2695     end
2697     class 128227 "SoQtRenderArea"
2698       visibility package 
2699       cpp_decl "${comment}${template}class ${name}${inherit} {
2700 ${members}};
2701 ${inlines}
2703       java_decl ""
2704       php_decl ""
2705       idl_decl ""
2706       explicit_switch_type ""
2707       
2708     end
2710     class 128099 "CubeRenderArea"
2711       visibility package 
2712       cpp_decl "${comment}${template}class ${name}${inherit} {
2713 ${members}};
2714 ${inlines}
2716       java_decl ""
2717       php_decl ""
2718       idl_decl ""
2719       explicit_switch_type ""
2720       
2721       class 128739 "Direction"
2722         visibility protected stereotype "enum"
2723         cpp_decl "${comment}${template}class ${name}${inherit} {
2724 ${members}};
2725 ${inlines}
2727         java_decl ""
2728         php_decl ""
2729         idl_decl ""
2730         explicit_switch_type ""
2731         
2732         attribute 129635 "UP"
2733           public explicit_type ""
2734           cpp_decl ""
2735           java_decl ""
2736           php_decl ""
2737           idl_decl ""
2738         end
2740         attribute 129763 "DOWN"
2741           public explicit_type ""
2742           cpp_decl ""
2743           java_decl ""
2744           php_decl ""
2745           idl_decl ""
2746         end
2748         attribute 129891 "LEFT"
2749           public explicit_type ""
2750           cpp_decl ""
2751           java_decl ""
2752           php_decl ""
2753           idl_decl ""
2754         end
2756         attribute 130019 "RIGHT"
2757           public explicit_type ""
2758           cpp_decl ""
2759           java_decl ""
2760           php_decl ""
2761           idl_decl ""
2762         end
2764         attribute 130147 "IN"
2765           public explicit_type ""
2766           cpp_decl ""
2767           java_decl ""
2768           php_decl ""
2769           idl_decl ""
2770         end
2772         attribute 130275 "OUT"
2773           public explicit_type ""
2774           cpp_decl ""
2775           java_decl ""
2776           php_decl ""
2777           idl_decl ""
2778         end
2779       end
2781       class 128355 "Orientation"
2782         visibility protected stereotype "enum"
2783         cpp_decl "${comment}${template}class ${name}${inherit} {
2784 ${members}};
2785 ${inlines}
2787         java_decl ""
2788         php_decl ""
2789         idl_decl ""
2790         explicit_switch_type ""
2791         
2792         attribute 128483 "X_POSITIVE"
2793           public explicit_type ""
2794           cpp_decl "  ${name}${value},${comment}"
2795           java_decl ""
2796           php_decl ""
2797           idl_decl ""
2798         end
2800         attribute 128739 "X_NEGATIVE"
2801           public explicit_type ""
2802           cpp_decl ""
2803           java_decl ""
2804           php_decl ""
2805           idl_decl ""
2806         end
2808         attribute 128867 "Y_POSITIVE"
2809           public explicit_type ""
2810           cpp_decl ""
2811           java_decl ""
2812           php_decl ""
2813           idl_decl ""
2814         end
2816         attribute 128995 "Y_NEGATIVE"
2817           public explicit_type ""
2818           cpp_decl ""
2819           java_decl ""
2820           php_decl ""
2821           idl_decl ""
2822         end
2824         attribute 129123 "Z_POSITIVE"
2825           public explicit_type ""
2826           cpp_decl ""
2827           java_decl ""
2828           php_decl ""
2829           idl_decl ""
2830         end
2832         attribute 129251 "Z_NEGATIVE"
2833           public explicit_type ""
2834           cpp_decl ""
2835           java_decl ""
2836           php_decl ""
2837           idl_decl ""
2838         end
2840         attribute 128111 "NO_ORIENTATION"
2841           protected explicit_type ""
2842           cpp_decl ""
2843           java_decl ""
2844           php_decl ""
2845           idl_decl ""
2846         end
2847       end
2849       classrelation 128227 // <generalisation>
2850         relation 128227 ---|>
2851           a public
2852             cpp default "${type}"
2853             classrelation_ref 128227 // <generalisation>
2854           b parent class_ref 128227 // SoQtRenderArea
2855       end
2857       classrelation 128458 // <composition>
2858         relation 128330 *---
2859           a role_name "" multiplicity "0..1" private
2860             cpp default "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
2862             classrelation_ref 128458 // <composition>
2863           b role_name "" private
2864             classrelation_ref 129269 // <composition>
2865       end
2867       attribute 128586 "_scene"
2868         private type class_ref 128867 // SceneGraph
2869         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2871         java_decl ""
2872         php_decl ""
2873         idl_decl ""
2874       end
2876       attribute 128099 "_acceptMove"
2877         private explicit_type "bool"
2878         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2880         java_decl ""
2881         php_decl ""
2882         idl_decl ""
2883       end
2885       attribute 128355 "_numCubes"
2886         private explicit_type "int"
2887         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2889         java_decl ""
2890         php_decl ""
2891         idl_decl ""
2892       end
2894       attribute 129994 "_isExploded"
2895         private explicit_type "sbBool"
2896         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2898         java_decl ""
2899         php_decl ""
2900         idl_decl ""
2901       end
2903       attribute 128227 "_isRotating"
2904         private explicit_type "sbBool"
2905         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2907         java_decl ""
2908         php_decl ""
2909         idl_decl ""
2910       end
2912       attribute 129379 "_frontSide"
2913         private type class_ref 128355 // Orientation
2914         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2916         java_decl ""
2917         php_decl ""
2918         idl_decl ""
2919       end
2921       attribute 129507 "_upSide"
2922         private type class_ref 128355 // Orientation
2923         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
2925         java_decl ""
2926         php_decl ""
2927         idl_decl ""
2928       end
2930       operation 128611 "CubeRenderArea"
2931         public explicit_return_type ""
2932         nparams 2
2933           param in name "parent" explicit_type "QWidget*"
2934           param in name "dim" explicit_type "int"
2935         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
2937         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
2938   ${body}}
2940         
2941         
2942         
2943         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"
2944       end
2946       operation 128227 "drawMove"
2947         public explicit_return_type "void"
2948         nparams 2
2949           param in name "p" type class_ref 129173 // Point
2950           param in name "c" explicit_type "sbColor"
2951         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2953         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2954   ${body}}
2956         
2957         
2958         
2959       end
2961       operation 129738 "doMove"
2962         public explicit_return_type "void"
2963         nparams 0
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 "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."
2973       end
2975       operation 128739 "getOrientation"
2976         public return_type class_ref 128355 // Orientation
2977         nparams 1
2978           param in name "dir" type class_ref 128739 // Direction
2979         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2981         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2982   ${body}}
2984         
2985         
2986         
2987         comment "analizzando il frontside e l'upside ritorna l orientazione di destra sinistra ecc rispetto l'osservetore (usata nella explodeCubeCB)"
2988       end
2990       operation 128355 "selectCube"
2991         public explicit_return_type "void"
2992         nparams 2
2993           param in name "p" type class_ref 129173 // Point
2994           param in name "c" explicit_type "sbColor"
2995             defaultvalue "255,0,0"
2996         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
2998         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
2999   ${body}}
3001         
3002         
3003         
3004         comment "usata dal suggeritore della mossa e dall'event dispatcher.
3005 il valore di default del parametro c, Ã¨ il colore usato per la selezione nel caso generale.
3006 setta il colore di _highlightAction uguale al parametro, aggiorna _selector e _selectedCube (tutto nello oggetto di tipo SceneGraph)"
3007       end
3009       attribute 130122 "_hasPreviousPick"
3010         private explicit_type "bool"
3011         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3013         java_decl ""
3014         php_decl ""
3015         idl_decl ""
3016         comment "utilizzato per gestire gli eventi del mouse..il primo click Ã¨ da ignorare perchè da coordinate sballate"
3017       end
3019       attribute 130250 "_lastXPick"
3020         private explicit_type "float"
3021         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3023         java_decl ""
3024         php_decl ""
3025         idl_decl ""
3026         comment "coordinate x dell ultimo click"
3027       end
3029       attribute 130378 "_lastYPick"
3030         private explicit_type "float"
3031         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3033         java_decl ""
3034         php_decl ""
3035         idl_decl ""
3036       end
3038       attribute 130506 "_projection"
3039         private explicit_type "sbSphereSheetProjector"
3040         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3042         java_decl ""
3043         php_decl ""
3044         idl_decl ""
3045         comment "usato per la telecamera. guardare documentazione"
3046       end
3048       operation 128586 "rotateCamera"
3049         public explicit_return_type "void"
3050         nparams 2
3051           param in name "newX" explicit_type "float"
3052           param in name "newY" explicit_type "float"
3053         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3055         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3056   ${body}}
3058         
3059         
3060         
3061         comment "calcola la rotazione e chiama applyRotationToCamera di SceneGraph. Aggiorna i campi FrontSide e UpSide."
3062       end
3064       operation 128714 "zoomCamera"
3065         public explicit_return_type "void"
3066         nparams 1
3067           param in name "delta" explicit_type "int"
3068         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3070         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3071   ${body}}
3073         
3074         
3075         
3076         comment "(modifica il delta e) chiama applyRotationToCamera di SceneGraph"
3077       end
3079       operation 128202 "eventDispatcher"
3080         class_operation public explicit_return_type "void"
3081         nparams 2
3082           param in name "userdata" explicit_type "void*"
3083           param in name "eventCB" explicit_type "QEvent*"
3084         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3086         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3087   ${body}}
3089         
3090         
3091         
3092         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
3093 casi particolari:
3094 -SPAZIO: per chiamare la applyExplosion() passare come parametro _frontside
3095          per chiamare la applyImplosion() passare il parametro TRUE
3097 -TASTI DIREZIONALI: invocare la applyExplosion() con parametro uguale scenegraph.getDirectionOfExplosion()
3098                         invocare la applyImplosion() con parametro uguale a FALSE"
3099       end
3101       operation 128330 "cubeSelected"
3102         class_operation public explicit_return_type "void"
3103         nparams 2
3104           param in name "data" explicit_type "void*"
3105           param in name "path" explicit_type "SoPath*"
3106         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3108         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3109   ${body}}
3111         
3112         
3113         
3114         comment "gestisce la selezione di un cubo. Mette nel campo _selectedCube il soseparator contenuto nel SoPath. Il primo parametro Ã¨ la CubeRenderArea"
3115       end
3117       operation 128458 "cubeDeselected"
3118         class_operation public explicit_return_type "void"
3119         nparams 2
3120           param in name "data" explicit_type "void*"
3121           param in name "path" explicit_type "SoPath*"
3122         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3124         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3125   ${body}}
3127         
3128         
3129         
3130         comment "deseleziona la casella ( cioè mette a null _selectedCube). data Ã¨ il CubeRenderArea"
3131       end
3133       attribute 128091 "_highlightAction"
3134         private explicit_type "SoLineHighlightRenderAction*"
3135         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3137         java_decl ""
3138         php_decl ""
3139         idl_decl ""
3140       end
3142       attribute 128039 "_mutex"
3143         private type class_ref 130837 // QMutex
3144         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3146         java_decl ""
3147         php_decl ""
3148         idl_decl ""
3149       end
3150     end
3152     class 128867 "SceneGraph"
3153       visibility package 
3154       cpp_decl "${comment}${template}class ${name}${inherit} {
3155 ${members}};
3156 ${inlines}
3158       java_decl ""
3159       php_decl ""
3160       idl_decl ""
3161       explicit_switch_type ""
3162       
3163       attribute 128458 "_renderArea"
3164         private type class_ref 128099 // CubeRenderArea
3165         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3167         java_decl ""
3168         php_decl ""
3169         idl_decl ""
3170       end
3172       operation 128842 "SceneGraph"
3173         public explicit_return_type ""
3174         nparams 2
3175           param in name "ra" explicit_type "CubeRenderArea*"
3176           param in name "dim" explicit_type "int"
3177         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3179         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3180   ${body}}
3182         
3183         
3184         
3185         comment "costruttore: costruisce la scena di dimensioni dim*dim*dim , inizializza tutti i campi e la matrice"
3186       end
3188       attribute 128074 "_root"
3189         private explicit_type "SoSeparator"
3190         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3192         java_decl ""
3193         php_decl ""
3194         idl_decl ""
3195         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"
3196       end
3198       attribute 128202 "_camera"
3199         private explicit_type "SoCamera"
3200         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3202         java_decl ""
3203         php_decl ""
3204         idl_decl ""
3205       end
3207       attribute 128330 "_light"
3208         private explicit_type "SoLight"
3209         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3211         java_decl ""
3212         php_decl ""
3213         idl_decl ""
3214       end
3216       attribute 128714 "_selector"
3217         private explicit_type "SoSelection"
3218         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3220         java_decl ""
3221         php_decl ""
3222         idl_decl ""
3223       end
3225       attribute 128842 "_fixedCubes"
3226         private explicit_type "SoGroup"
3227         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3229         java_decl ""
3230         php_decl ""
3231         idl_decl ""
3232         comment "i cubi che non sono esplosi"
3233       end
3235       attribute 128970 "_movedCubes"
3236         private explicit_type "QLinkedList<SoGroup*>"
3237         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3239         java_decl ""
3240         php_decl ""
3241         idl_decl ""
3242         comment "i cubi esplosi"
3243       end
3245       attribute 129098 "_shape"
3246         private explicit_type "SoShape"
3247         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3249         java_decl ""
3250         php_decl ""
3251         idl_decl ""
3252         comment "la forma delle caselle..istanziato a SoCube o SoSphere"
3253       end
3255       attribute 129354 "_mover"
3256         private explicit_type "SbList<SoTranslation>"
3257         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3259         java_decl ""
3260         php_decl ""
3261         idl_decl ""
3262         comment "lista di traslazioni, una per ogni livello esploso"
3263       end
3265       attribute 129482 "_interpolator"
3266         private explicit_type "SbList<SoInterpolateVec3f>"
3267         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3269         java_decl ""
3270         php_decl ""
3271         idl_decl ""
3272         comment "interpolazione per effetto \"scorrimento\" della explodeCube"
3273       end
3275       attribute 129610 "_timer"
3276         private explicit_type "SbList<SoOneShot>"
3277         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3279         java_decl ""
3280         php_decl ""
3281         idl_decl ""
3282         comment "lista di timer"
3283       end
3285       attribute 129738 "_explodeSensor"
3286         private explicit_type "SoOneShotSensor"
3287         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3289         java_decl ""
3290         php_decl ""
3291         idl_decl ""
3292         comment "classe che schedula la explode e la implode.
3293 Come callback avra' la explodeCubeCB di CubeRenderArea"
3294       end
3296       attribute 129866 "_graphMatrix"
3297         private explicit_type "SoSeparator*"
3298         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3300         java_decl ""
3301         php_decl ""
3302         idl_decl ""
3303         comment "Matrice tridimensionale che contiene i puntatori ad ogni nodo che rappresenta un cubo"
3304       end
3306       operation 128970 "applyRotationToCamera"
3307         public explicit_return_type "void"
3308         nparams 1
3309           param in name "rot" explicit_type "SbRotation*"
3310         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3312         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3313   ${body}}
3315         
3316         
3317         
3318         comment "applica la rotazione rot alla telecamera"
3319       end
3321       operation 129098 "applyTranslationToCamera"
3322         public explicit_return_type "void"
3323         nparams 1
3324           param in name "delta" explicit_type "int"
3325         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3327         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3328   ${body}}
3330         
3331         
3332         
3333         comment "applica una traslazione alla telecamera. Usata per lo zoom"
3334       end
3336       operation 129226 "applyExplosionToCube"
3337         public explicit_return_type "void"
3338         nparams 1
3339           param in name "desired" type class_ref 128355 // Orientation
3340         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3342         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3343   ${body}}
3345         
3346         
3347         
3348         comment "se desired NON Ã¨ uguale a _directionOfExplosion, il cubo si trova in uno stato INCONSISTENTE
3349 devo prima pulire i 3 array interpolator, timer, mover e spostare i cubi in _fixedCubes
3350 setto il campo _directionOfExplosion
3351 sempre:
3352 -chiamo n volte la explodeLevel()
3355       end
3357       operation 129354 "applyImplosionToCube"
3358         public explicit_return_type "void"
3359         nparams 0
3360         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3362         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3363   ${body}}
3365         
3366         
3367         
3368         comment "apllica l'implosione.
3369 Se il booleano all == true, bisogna chiudere TUTTI i livelli, in caso contrario si implodono i livelli
3370 fino al cursore"
3371       end
3373       operation 128074 "getRoot"
3374         public explicit_return_type "SoSeparator*"
3375         nparams 0
3376         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3378         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3379   ${body}}
3381         
3382         
3383         
3384       end
3386       operation 129482 "explodeLevel"
3387         private explicit_return_type "void"
3388         nparams 0
3389         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3391         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3392   ${body}}
3394         
3395         
3396         
3397         comment "funzione ausiliaria: aggiunge un livello a quelli esplosi e lo fa spostare.
3398 Confronta le dimensioni degli array con _explodedLevels:
3399 -se maggiori o uguali si tratta di una esplosione \"ex novo\", tolgo i cubi da _fixedCubes
3400 -altrimenti si tratta di un livello esploso precedentemente, inverto le posizioni del mover, attivo il timer
3401 INCREMENTARE _explodedLevels in ogni caso"
3402       end
3404       operation 129610 "implodeLevel"
3405         private explicit_return_type "void"
3406         nparams 0
3407         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3409         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3410   ${body}}
3412         
3413         
3414         
3415         comment "funzione ausiliaria. Implode l ultimo livello esploso
3416 invertire le posizioni del mover e attivare il timer
3417 DECREMENTARE _explodedLevels"
3418       end
3420       attribute 128239 "_selectedCube"
3421         private explicit_type "SoSeparator"
3422         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3424         java_decl ""
3425         php_decl ""
3426         idl_decl ""
3427       end
3429       attribute 128367 "_directionOfExplosion"
3430         private type class_ref 128355 // Orientation
3431         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3433         java_decl ""
3434         php_decl ""
3435         idl_decl ""
3436       end
3438       attribute 128495 "_explodedLevels"
3439         private explicit_type "int"
3440         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3442         java_decl ""
3443         php_decl ""
3444         idl_decl ""
3445       end
3447       classrelation 129269 // <composition>
3448         relation_ref 128330 // <composition>
3449       end
3450     end
3452     class 128008 "QSettings"
3453       visibility package 
3454       cpp_decl "${comment}${template}class ${name}${inherit} {
3455 ${members}};
3456 ${inlines}
3458       java_decl ""
3459       php_decl ""
3460       idl_decl ""
3461       explicit_switch_type ""
3462       
3463     end
3465     class 128426 "AbstractSettings"
3466       abstract visibility package 
3467       cpp_decl "${comment}${template}class ${name}${inherit} {
3468 ${members}};
3469 ${inlines}
3471       java_decl ""
3472       php_decl ""
3473       idl_decl ""
3474       explicit_switch_type ""
3475       
3476       operation 128776 "language"
3477         abstract const cpp_virtual public return_type class_ref 128440 // QString
3478         nparams 0
3479         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3481         
3482         
3483         
3484       end
3486       operation 128090 "dockState"
3487         abstract const cpp_virtual public explicit_return_type "QByteArray"
3488         nparams 0
3489         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3491         
3492         
3493         
3494       end
3496       operation 129416 "geometry"
3497         abstract const cpp_virtual public explicit_return_type "QByteArray"
3498         nparams 0
3499         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3501         
3502         
3503         
3504       end
3506       operation 128444 "defaultCubeColor"
3507         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3508         nparams 0
3509         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3511         
3512         
3513         
3514       end
3516       operation 128619 "backgroundColor"
3517         abstract const cpp_virtual public return_type class_ref 128253 // QColor
3518         nparams 0
3519         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3521         
3522         
3523         
3524       end
3526       operation 129544 "setLanguage"
3527         abstract cpp_virtual public explicit_return_type "void"
3528         nparams 1
3529           param in name "lang" type class_ref 128440 // QString
3530         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3532         
3533         
3534         
3535       end
3537       operation 128218 "setDockState"
3538         abstract const cpp_virtual public explicit_return_type "void"
3539         nparams 1
3540           param in name "state" explicit_type "QByteArray"
3541         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3543         
3544         
3545         
3546       end
3548       operation 129800 "setGeometry"
3549         abstract cpp_virtual public explicit_return_type "void"
3550         nparams 1
3551           param in name "geom" explicit_type "QByteArray"
3552         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3554         
3555         
3556         
3557       end
3559       operation 128572 "setDefaultCubeColor"
3560         abstract cpp_virtual public explicit_return_type "void"
3561         nparams 1
3562           param in name "color" type class_ref 128253 // QColor
3563         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3565         
3566         
3567         
3568       end
3570       operation 128747 "setBackgroundColor"
3571         abstract cpp_virtual public explicit_return_type "void"
3572         nparams 1
3573           param in name "color" type class_ref 128253 // QColor
3574         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3576         
3577         
3578         
3579       end
3580     end
3582     class 130453 "SettingsManager"
3583       abstract visibility package 
3584       cpp_decl "${comment}${template}class ${name}${inherit} {
3585 ${members}};
3586 ${inlines}
3588       java_decl ""
3589       php_decl ""
3590       idl_decl ""
3591       explicit_switch_type ""
3592       
3593       operation 128904 "playersInfo"
3594         abstract const cpp_virtual public explicit_return_type "QList<PlayerInfo>"
3595         nparams 0
3596         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3598         
3599         
3600         
3601       end
3603       operation 129032 "difficulty1"
3604         abstract const cpp_virtual public explicit_return_type "int"
3605         nparams 0
3606         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3608         
3609         
3610         
3611       end
3613       operation 129160 "difficulty2"
3614         abstract const cpp_virtual public explicit_return_type "int"
3615         nparams 0
3616         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3618         
3619         
3620         
3621       end
3623       operation 129672 "setPlayersInfo"
3624         abstract cpp_virtual public explicit_return_type "void"
3625         nparams 1
3626           param in name "info" explicit_type "QList<PlayerInfo>"
3627         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}const ${t0} & ${p0}${)}${const}${volatile}${throw}${abstract};
3629         
3630         
3631         
3632       end
3634       operation 128009 "setDifficulty1"
3635         abstract cpp_virtual public explicit_return_type "void"
3636         nparams 1
3637           param in name "d1" explicit_type "int"
3638         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${t0} ${p0}${)}${const}${volatile}${throw}${abstract};
3640         
3641         
3642         
3643       end
3645       operation 128137 "setDifficulty2"
3646         abstract cpp_virtual public explicit_return_type "void"
3647         nparams 1
3648           param in name "d2" explicit_type "int"
3649         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3651         
3652         
3653         
3654       end
3656       classrelation 129450 // <generalisation>
3657         relation 129450 ---|>
3658           a public
3659             cpp default "${type}"
3660             classrelation_ref 129450 // <generalisation>
3661           b parent class_ref 128426 // AbstractSettings
3662       end
3663     end
3665     class 128042 "LocalSettings"
3666       visibility package 
3667       cpp_decl "${comment}${template}class ${name}${inherit} {
3668 ${members}};
3669 ${inlines}
3671       java_decl ""
3672       php_decl ""
3673       idl_decl ""
3674       explicit_switch_type ""
3675       
3676       classrelation 129578 // <generalisation>
3677         relation 129578 ---|>
3678           a public
3679             cpp default "${type}"
3680             classrelation_ref 129578 // <generalisation>
3681           b parent class_ref 128298 // GUISettings
3682       end
3684       classrelation 129962 // <realization>
3685         relation 129962 -_-|>
3686           a public
3687             cpp default "${type}"
3688             classrelation_ref 129962 // <realization>
3689           b parent class_ref 130453 // SettingsManager
3690       end
3691     end
3693     class 128170 "ServerSettings"
3694       visibility package 
3695       cpp_decl "${comment}${template}class ${name}${inherit} {
3696 ${members}};
3697 ${inlines}
3699       java_decl ""
3700       php_decl ""
3701       idl_decl ""
3702       explicit_switch_type ""
3703       
3704       operation 129186 "serverPort"
3705         const public explicit_return_type "quint16"
3706         nparams 0
3707         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3709         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3710   ${body}}
3712         
3713         
3714         
3715       end
3717       operation 128170 "timerDuration"
3718         const public explicit_return_type "int"
3719         nparams 0
3720         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3722         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3723   ${body}}
3725         
3726         
3727         
3728       end
3730       operation 128051 "myColor"
3731         public return_type class_ref 128253 // QColor
3732         nparams 0
3733         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3735         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3736   ${body}}
3738         
3739         
3740         
3741       end
3743       operation 129314 "setServerPort"
3744         public explicit_return_type "void"
3745         nparams 1
3746           param in name "port" explicit_type "quint16"
3747         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3749         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3750   ${body}}
3752         
3753         
3754         
3755       end
3757       operation 128298 "setTimerDuration"
3758         public explicit_return_type "void"
3759         nparams 1
3760           param in name "msec" explicit_type "int"
3761         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3763         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3764   ${body}}
3766         
3767         
3768         
3769       end
3771       classrelation 129706 // <generalisation>
3772         relation 129706 ---|>
3773           a public
3774             cpp default "${type}"
3775             classrelation_ref 129706 // <generalisation>
3776           b parent class_ref 128298 // GUISettings
3777       end
3779       classrelation 129834 // <realization>
3780         relation 129834 -_-|>
3781           a public
3782             cpp default "${type}"
3783             classrelation_ref 129834 // <realization>
3784           b parent class_ref 130453 // SettingsManager
3785       end
3787       operation 128179 "setMyColor"
3788         public explicit_return_type "void"
3789         nparams 1
3790           param in name "color" type class_ref 128253 // QColor
3791         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3793         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3794   ${body}}
3796         
3797         
3798         
3799       end
3800     end
3802     class 128298 "GUISettings"
3803       visibility package 
3804       cpp_decl "${comment}${template}class ${name}${inherit} {
3805 ${members}};
3806 ${inlines}
3808       java_decl ""
3809       php_decl ""
3810       idl_decl ""
3811       explicit_switch_type ""
3812       
3813       classrelation 129194 // <realization>
3814         relation 129194 -_-|>
3815           a public
3816             cpp default "${type}"
3817             classrelation_ref 129194 // <realization>
3818           b parent class_ref 128426 // AbstractSettings
3819       end
3821       classrelation 129322 // <generalisation>
3822         relation 129322 ---|>
3823           stereotype "protected"
3824           a protected
3825             cpp default "${type}"
3826             classrelation_ref 129322 // <generalisation>
3827           b parent class_ref 128008 // QSettings
3828       end
3829     end
3831     class 129345 "GameClient"
3832       visibility package 
3833       cpp_decl "${comment}${template}class ${name}${inherit} {
3834 ${members}};
3835 ${inlines}
3837       java_decl ""
3838       php_decl ""
3839       idl_decl ""
3840       explicit_switch_type ""
3841       
3842       classrelation 129345 // <realization>
3843         relation 129345 -_-|>
3844           a public
3845             cpp default "${type}"
3846             classrelation_ref 129345 // <realization>
3847           b parent class_ref 130069 // Network
3848       end
3850       classrelation 129168 // <directional composition>
3851         relation 129168 *-->
3852           a role_name "" protected
3853             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3855             classrelation_ref 129168 // <directional composition>
3856           b parent class_ref 129168 // ClientSocket
3857       end
3859       attribute 129267 "_localPlayer"
3860         private explicit_type "int"
3861         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3863         java_decl ""
3864         php_decl ""
3865         idl_decl ""
3866       end
3868       attribute 129296 "_server"
3869         private type class_ref 129168 // ClientSocket
3870         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3872         java_decl ""
3873         php_decl ""
3874         idl_decl ""
3875       end
3877       operation 129296 "GameClient"
3878         public explicit_return_type ""
3879         nparams 3
3880           param in name "gui" explicit_type "QWidget*"
3881           param in name "serverAddress" type class_ref 128440 // QString
3882           param in name "serverPort" explicit_type "quint16"
3883         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3885         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3886   ${body}}
3888         
3889         
3890         
3891       end
3893       operation 129561 "~GameClient"
3894         cpp_virtual public explicit_return_type ""
3895         nparams 0
3896         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
3898         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3899   ${body}}
3901         
3902         
3903         
3904       end
3906       operation 129424 "requestMove"
3907         cpp_virtual public return_type class_ref 129173 // Point
3908         nparams 0
3909         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3911         
3912         
3913         
3914       end
3916       operation 129552 "setupChat"
3917         cpp_virtual public explicit_return_type "void"
3918         nparams 1
3919           param in name "widget" explicit_type "ChatWidget*"
3920         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3922         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3923   ${body}}
3925         
3926         
3927         
3928       end
3930       operation 129267 "setLocalPlayer"
3931         stereotype "slot"
3932         private explicit_return_type "void"
3933         nparams 1
3934           param in name "id" explicit_type "int"
3935         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
3937         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
3938   ${body}}
3940         
3941         
3942         
3943       end
3944     end
3946     class 129217 "GameServer"
3947       visibility protected 
3948       cpp_decl "${comment}${template}class ${name}${inherit} {
3949 ${members}};
3950 ${inlines}
3952       java_decl ""
3953       php_decl ""
3954       idl_decl ""
3955       explicit_switch_type ""
3956       
3957       classrelation 129217 // <realization>
3958         relation 129217 -_-|>
3959           a public
3960             cpp default "${type}"
3961             classrelation_ref 129217 // <realization>
3962           b parent class_ref 130069 // Network
3963       end
3965       classrelation 129296 // <directional composition>
3966         relation 129296 *-->
3967           a role_name "" multiplicity "*" protected
3968             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3970             classrelation_ref 129296 // <directional composition>
3971           b parent class_ref 129296 // ServerSocket
3972       end
3974       classrelation 129424 // <directional composition>
3975         relation 129424 *-->
3976           a role_name "" protected
3977             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
3979             classrelation_ref 129424 // <directional composition>
3980           b parent class_ref 129212 // QTcpServer
3981       end
3983       operation 129936 "GameServer"
3984         public explicit_return_type ""
3985         nparams 2
3986           param in name "gui" explicit_type "QWidget*"
3987           param in name "history" explicit_type "HistoryModel*"
3988         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
3990         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
3991   ${body}}
3993         
3994         
3995         
3996       end
3998       operation 129433 "~GameServer"
3999         cpp_virtual public explicit_return_type ""
4000         nparams 0
4001         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4003         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4004   ${body}}
4006         
4007         
4008         
4009       end
4011       operation 129680 "requestMove"
4012         cpp_virtual public return_type class_ref 129173 // Point
4013         nparams 0
4014         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4016         
4017         
4018         
4019       end
4021       operation 129808 "setupChat"
4022         cpp_virtual public explicit_return_type "void"
4023         nparams 1
4024           param in name "widget" explicit_type "ChatWidget*"
4025         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4027         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4028   ${body}}
4030         
4031         
4032         
4033       end
4035       operation 130064 "handleIncomingConnection"
4036         stereotype "slot"
4037         private explicit_return_type "void"
4038         nparams 0
4039         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4041         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4042   ${body}}
4044         
4045         
4046         
4047       end
4049       operation 132431 "handleJoinRequest"
4050         stereotype "slot"
4051         private explicit_return_type "void"
4052         nparams 2
4053           param in name "mode" type class_ref 128440 // QString
4054           param in name "name" type class_ref 128440 // QString
4055         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4057         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4058   ${body}}
4060         
4061         
4062         
4063       end
4065       operation 128024 "setTurn"
4066         stereotype "slot"
4067         private explicit_return_type "void"
4068         nparams 1
4069           param in name "playerId" explicit_type "int"
4070         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4072         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4073   ${body}}
4075         
4076         
4077         
4078       end
4080       attribute 129424 "_listener"
4081         private type class_ref 129212 // QTcpServer
4082         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4084         java_decl ""
4085         php_decl ""
4086         idl_decl ""
4087       end
4089       attribute 129552 "_pendingConnections"
4090         private explicit_type "QLinkedList<ServerSocket>"
4091         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4093         java_decl ""
4094         php_decl ""
4095         idl_decl ""
4096       end
4098       attribute 129680 "_remotePlayers"
4099         private explicit_type "QList<ServerSocket>"
4100         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4102         java_decl ""
4103         php_decl ""
4104         idl_decl ""
4105       end
4107       attribute 129808 "_spectators"
4108         private explicit_type "QList<ServerSocket>"
4109         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4111         java_decl ""
4112         php_decl ""
4113         idl_decl ""
4114       end
4116       attribute 130064 "_gameInProgress"
4117         private explicit_type "bool"
4118         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4120         java_decl ""
4121         php_decl ""
4122         idl_decl ""
4123       end
4125       attribute 129936 "_history"
4126         private explicit_type "HistoryModel*"
4127         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4129         java_decl ""
4130         php_decl ""
4131         idl_decl ""
4132       end
4134       attribute 129199 "_names"
4135         private explicit_type "QStringList"
4136         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4138         java_decl ""
4139         php_decl ""
4140         idl_decl ""
4141       end
4143       attribute 130492 "_numberOfPlayers"
4144         private explicit_type "int"
4145         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4147         java_decl ""
4148         php_decl ""
4149         idl_decl ""
4150       end
4152       attribute 128024 "_turn"
4153         private explicit_type "int"
4154         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4156         java_decl ""
4157         php_decl ""
4158         idl_decl ""
4159       end
4161       attribute 129395 "_settings"
4162         private type class_ref 128170 // ServerSettings
4163         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4165         java_decl ""
4166         php_decl ""
4167         idl_decl ""
4168       end
4169     end
4171     class 129231 "StreamSocket"
4172       visibility package 
4173       cpp_decl "${comment}${template}class ${name}${inherit} {
4174 ${members}};
4175 ${inlines}
4177       java_decl ""
4178       php_decl ""
4179       idl_decl ""
4180       explicit_switch_type ""
4181       
4182       class 129359 "ProtocolState"
4183         visibility protected stereotype "enum"
4184         cpp_decl "${comment}enum ${name} {
4185 ${items}
4188         java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
4189 ${items};
4190 ${members}}
4192         php_decl "${comment}final ${visibility}class ${name} {
4193 ${items}}
4195         idl_decl "${comment}enum ${name} {
4196 ${items}};
4198         explicit_switch_type ""
4199         
4200         attribute 129743 "Unconnected"
4201           public type class_ref 129359 // ProtocolState
4202           cpp_decl "  ${name}${value},${comment}"
4203           java_decl ""
4204           php_decl ""
4205           idl_decl ""
4206         end
4208         attribute 129871 "Listening"
4209           public type class_ref 129359 // ProtocolState
4210           cpp_decl "  ${name}${value},${comment}"
4211           java_decl ""
4212           php_decl ""
4213           idl_decl ""
4214         end
4216         attribute 129999 "Connecting"
4217           public type class_ref 129359 // ProtocolState
4218           cpp_decl "  ${name}${value},${comment}"
4219           java_decl ""
4220           php_decl ""
4221           idl_decl ""
4222         end
4224         attribute 130127 "Connected"
4225           public type class_ref 129359 // ProtocolState
4226           cpp_decl "  ${name}${value},${comment}"
4227           java_decl ""
4228           php_decl ""
4229           idl_decl ""
4230         end
4232         attribute 130255 "OpeningStream"
4233           public type class_ref 129359 // ProtocolState
4234           cpp_decl "  ${name}${value},${comment}"
4235           java_decl ""
4236           php_decl ""
4237           idl_decl ""
4238         end
4240         attribute 130383 "FullyOpened"
4241           public type class_ref 129359 // ProtocolState
4242           cpp_decl "  ${name}${value},${comment}"
4243           java_decl ""
4244           php_decl ""
4245           idl_decl ""
4246         end
4248         attribute 130511 "Idle"
4249           public type class_ref 129359 // ProtocolState
4250           cpp_decl "  ${name}${value},${comment}"
4251           java_decl ""
4252           php_decl ""
4253           idl_decl ""
4254         end
4256         attribute 130639 "AwaitingJoinRequest"
4257           public type class_ref 129359 // ProtocolState
4258           cpp_decl "  ${name}${value},${comment}"
4259           java_decl ""
4260           php_decl ""
4261           idl_decl ""
4262         end
4264         attribute 130767 "AwaitingJoinAnswer"
4265           public type class_ref 129359 // ProtocolState
4266           cpp_decl "  ${name}${value},${comment}"
4267           java_decl ""
4268           php_decl ""
4269           idl_decl ""
4270         end
4272         attribute 130895 "AwaitingPlayers"
4273           public type class_ref 129359 // ProtocolState
4274           cpp_decl "  ${name}${value},${comment}"
4275           java_decl ""
4276           php_decl ""
4277           idl_decl ""
4278         end
4280         attribute 131023 "AwaitingGameStart"
4281           public type class_ref 129359 // ProtocolState
4282           cpp_decl "  ${name}${value},${comment}"
4283           java_decl ""
4284           php_decl ""
4285           idl_decl ""
4286         end
4288         attribute 131151 "Playing"
4289           public type class_ref 129359 // ProtocolState
4290           cpp_decl "  ${name}${value},${comment}"
4291           java_decl ""
4292           php_decl ""
4293           idl_decl ""
4294         end
4296         attribute 131279 "AwaitingMove"
4297           public type class_ref 129359 // ProtocolState
4298           cpp_decl "  ${name}${value},${comment}"
4299           java_decl ""
4300           php_decl ""
4301           idl_decl ""
4302         end
4304         attribute 131407 "Closing"
4305           public type class_ref 129359 // ProtocolState
4306           cpp_decl "  ${name}${value},${comment}"
4307           java_decl ""
4308           php_decl ""
4309           idl_decl ""
4310         end
4312         attribute 131535 "Closed"
4313           public type class_ref 129359 // ProtocolState
4314           cpp_decl "  ${name}${value},${comment}"
4315           java_decl ""
4316           php_decl ""
4317           idl_decl ""
4318         end
4319       end
4321       classrelation 129487 // <generalisation>
4322         relation 129487 ---|>
4323           stereotype "protected"
4324           a protected
4325             cpp default "${type}"
4326             classrelation_ref 129487 // <generalisation>
4327           b parent class_ref 129601 // QXmlStreamWriter
4328       end
4330       classrelation 129615 // <generalisation>
4331         relation 129615 ---|>
4332           stereotype "protected"
4333           a protected
4334             cpp default "${type}"
4335             classrelation_ref 129615 // <generalisation>
4336           b parent class_ref 129473 // QXmlStreamReader
4337       end
4339       classrelation 129743 // <directional composition>
4340         relation 129743 *-->
4341           a role_name "" protected
4342             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4344             classrelation_ref 129743 // <directional composition>
4345           b parent class_ref 129340 // QTcpSocket
4346       end
4348       attribute 129231 "_supportedProtocolVersion"
4349         class_attribute const_attribute protected type class_ref 128440 // QString
4350         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4352         java_decl ""
4353         php_decl ""
4354         idl_decl ""
4355       end
4357       attribute 129359 "_socket"
4358         protected type class_ref 129340 // QTcpSocket
4359         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4361         java_decl ""
4362         php_decl ""
4363         idl_decl ""
4364       end
4366       attribute 129487 "_buffer"
4367         private explicit_type "QLinkedList<Move>"
4368         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4370         java_decl ""
4371         php_decl ""
4372         idl_decl ""
4373       end
4375       attribute 129615 "_state"
4376         private explicit_type "ProtocolState"
4377         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
4379         java_decl ""
4380         php_decl ""
4381         idl_decl ""
4382       end
4384       operation 129231 "StreamSocket"
4385         protected explicit_return_type ""
4386         nparams 1
4387           param in name "socket" type class_ref 129340 // QTcpSocket
4388         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4390         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4391   ${body}}
4393         
4394         
4395         
4396       end
4398       operation 129177 "~StreamSocket"
4399         public explicit_return_type ""
4400         nparams 0
4401         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
4403         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4404   ${body}}
4406         
4407         
4408         
4409       end
4411       operation 129305 "state"
4412         const public explicit_return_type "ProtocolState"
4413         nparams 0
4414         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4416         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4417   ${body}}
4419         
4420         
4421         
4422       end
4424       operation 129359 "changeState"
4425         protected explicit_return_type "void"
4426         nparams 1
4427           param in name "state" explicit_type "ProtocolState"
4428         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4430         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4431   ${body}}
4433         
4434         
4435         
4436       end
4438       operation 129487 "sendChatMessage"
4439         stereotype "slot"
4440         public explicit_return_type "void"
4441         nparams 1
4442           param in name "msg" type class_ref 128440 // QString
4443         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4445         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4446   ${body}}
4448         
4449         
4450         
4451       end
4453       operation 129615 "sendMove"
4454         stereotype "slot"
4455         public explicit_return_type "void"
4456         nparams 1
4457           param in name "move" type class_ref 129301 // Move
4458         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4460         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4461   ${body}}
4463         
4464         
4465         
4466       end
4468       operation 129743 "openStream"
4469         stereotype "slot"
4470         protected explicit_return_type "void"
4471         nparams 0
4472         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4474         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4475   ${body}}
4477         
4478         
4479         
4480       end
4482       operation 129871 "closeStream"
4483         stereotype "slot"
4484         protected explicit_return_type "void"
4485         nparams 0
4486         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4488         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4489   ${body}}
4491         
4492         
4493         
4494       end
4496       operation 129999 "handleError"
4497         stereotype "slot"
4498         protected explicit_return_type "void"
4499         nparams 1
4500           param in name "error" explicit_type "QAbstractSocket::SocketError"
4501         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4503         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4504   ${body}}
4506         
4507         
4508         
4509       end
4511       operation 130127 "parseData"
4512         stereotype "slot"
4513         protected explicit_return_type "void"
4514         nparams 0
4515         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4517         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4518   ${body}}
4520         
4521         
4522         
4523       end
4525       operation 130255 "playerJoined"
4526         stereotype "signal"
4527         protected explicit_return_type "void"
4528         nparams 3
4529           param in name "id" explicit_type "int"
4530           param in name "name" type class_ref 128440 // QString
4531           param in name "type" type class_ref 128440 // QString
4532         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4534         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4535   ${body}}
4537         
4538         
4539         
4540       end
4542       operation 130383 "playerLeft"
4543         stereotype "signal"
4544         protected explicit_return_type "void"
4545         nparams 1
4546           param in name "id" explicit_type "int"
4547         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4549         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4550   ${body}}
4552         
4553         
4554         
4555       end
4557       operation 130511 "receivedChatMessage"
4558         stereotype "signal"
4559         protected explicit_return_type "void"
4560         nparams 1
4561           param in name "msg" type class_ref 128440 // QString
4562         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4564         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4565   ${body}}
4567         
4568         
4569         
4570       end
4572       operation 130639 "receivedMove"
4573         stereotype "signal"
4574         protected explicit_return_type "void"
4575         nparams 1
4576           param in name "move" type class_ref 129301 // Move
4577         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4579         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4580   ${body}}
4582         
4583         
4584         
4585       end
4587       operation 130767 "startGame"
4588         stereotype "signal"
4589         protected explicit_return_type "void"
4590         nparams 0
4591         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4593         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4594   ${body}}
4596         
4597         
4598         
4599       end
4601       classrelation 129187 // <unidirectional association>
4602         relation 129187 --->
4603           a role_name "" protected
4604             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
4606             classrelation_ref 129187 // <unidirectional association>
4607           b multiplicity "*" parent class_ref 129359 // ProtocolState
4608       end
4609     end
4611     class 129168 "ClientSocket"
4612       visibility package 
4613       cpp_decl "${comment}${template}class ${name}${inherit} {
4614 ${members}};
4615 ${inlines}
4617       java_decl ""
4618       php_decl ""
4619       idl_decl ""
4620       explicit_switch_type ""
4621       
4622       classrelation 129359 // <generalisation>
4623         relation 129359 ---|>
4624           a public
4625             cpp default "${type}"
4626             classrelation_ref 129359 // <generalisation>
4627           b parent class_ref 129231 // StreamSocket
4628       end
4630       operation 129315 "ClientSocket"
4631         public explicit_return_type ""
4632         nparams 1
4633           param in name "socket" type class_ref 129340 // QTcpSocket
4634         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4636         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4637   ${body}}
4639         
4640         
4641         
4642       end
4644       operation 132047 "joinGame"
4645         stereotype "slot"
4646         public explicit_return_type "void"
4647         nparams 2
4648           param in name "mode" type class_ref 128440 // QString
4649           param in name "name" type class_ref 128440 // QString
4650         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4652         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4653   ${body}}
4655         
4656         
4657         
4658       end
4660       operation 132175 "cancelJoin"
4661         stereotype "slot"
4662         public explicit_return_type "void"
4663         nparams 0
4664         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4666         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4667   ${body}}
4669         
4670         
4671         
4672       end
4674       operation 132303 "parseData"
4675         stereotype "slot"
4676         protected explicit_return_type "void"
4677         nparams 0
4678         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4680         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4681   ${body}}
4683         
4684         
4685         
4686       end
4688       operation 132559 "joinAccepted"
4689         stereotype "signal"
4690         protected explicit_return_type "void"
4691         nparams 1
4692           param in name "id" explicit_type "int"
4693         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4695         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4696   ${body}}
4698         
4699         
4700         
4701       end
4703       operation 132687 "joinRefused"
4704         stereotype "signal"
4705         protected explicit_return_type "void"
4706         nparams 1
4707           param in name "cause" explicit_type "int"
4708         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4710         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4711   ${body}}
4713         
4714         
4715         
4716       end
4718       operation 132815 "receivedGameSettings"
4719         stereotype "signal"
4720         protected explicit_return_type "void"
4721         nparams 4
4722           param in name "d1" explicit_type "int"
4723           param in name "d2" explicit_type "int"
4724           param in name "timer" explicit_type "int"
4725           param in name "playing" explicit_type "bool"
4726         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4728         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4729   ${body}}
4731         
4732         
4733         
4734       end
4736       operation 132943 "receivedHistory"
4737         stereotype "signal"
4738         protected explicit_return_type "void"
4739         nparams 1
4740           param in name "history" explicit_type "QList<Move>"
4741         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4743         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4744   ${body}}
4746         
4747         
4748         
4749       end
4750     end
4752     class 129296 "ServerSocket"
4753       visibility package 
4754       cpp_decl "${comment}${template}class ${name}${inherit} {
4755 ${members}};
4756 ${inlines}
4758       java_decl ""
4759       php_decl ""
4760       idl_decl ""
4761       explicit_switch_type ""
4762       
4763       classrelation 129231 // <generalisation>
4764         relation 129231 ---|>
4765           a public
4766             cpp default "${type}"
4767             classrelation_ref 129231 // <generalisation>
4768           b parent class_ref 129231 // StreamSocket
4769       end
4771       operation 129187 "ServerSocket"
4772         public explicit_return_type ""
4773         nparams 1
4774           param in name "socket" type class_ref 129340 // QTcpSocket
4775         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
4777         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
4778   ${body}}
4780         
4781         
4782         
4783       end
4785       operation 130895 "acceptJoin"
4786         public explicit_return_type "void"
4787         nparams 1
4788           param in name "id" explicit_type "int"
4789         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4791         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4792   ${body}}
4794         
4795         
4796         
4797       end
4799       operation 131023 "refuseJoin"
4800         public explicit_return_type "void"
4801         nparams 1
4802           param in name "cause" explicit_type "int"
4803         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4805         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4806   ${body}}
4808         
4809         
4810         
4811       end
4813       operation 131151 "sendGameSettings"
4814         stereotype "slot"
4815         public explicit_return_type "void"
4816         nparams 4
4817           param in name "d1" explicit_type "int"
4818           param in name "d2" explicit_type "int"
4819           param in name "timer" explicit_type "int"
4820           param in name "playing" explicit_type "bool"
4821         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4823         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4824   ${body}}
4826         
4827         
4828         
4829       end
4831       operation 131279 "sendHistory"
4832         stereotype "slot"
4833         public explicit_return_type "void"
4834         nparams 1
4835           param in name "history" explicit_type "QList<Move>"
4836         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4838         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4839   ${body}}
4841         
4842         
4843         
4844       end
4846       operation 131407 "sendPlayerJoined"
4847         stereotype "slot"
4848         public explicit_return_type "void"
4849         nparams 3
4850           param in name "id" explicit_type "int"
4851           param in name "name" type class_ref 128440 // QString
4852           param in name "type" type class_ref 128440 // QString
4853         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4855         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4856   ${body}}
4858         
4859         
4860         
4861       end
4863       operation 131535 "sendPlayerLeft"
4864         stereotype "slot"
4865         public explicit_return_type "void"
4866         nparams 1
4867           param in name "id" explicit_type "int"
4868         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4870         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4871   ${body}}
4873         
4874         
4875         
4876       end
4878       operation 131663 "sendStartGame"
4879         stereotype "slot"
4880         public explicit_return_type "void"
4881         nparams 0
4882         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4884         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4885   ${body}}
4887         
4888         
4889         
4890       end
4892       operation 131791 "parseData"
4893         stereotype "slot"
4894         protected explicit_return_type "void"
4895         nparams 0
4896         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4898         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4899   ${body}}
4901         
4902         
4903         
4904       end
4906       operation 131919 "joinRequested"
4907         stereotype "signal"
4908         protected explicit_return_type "void"
4909         nparams 2
4910           param in name "mode" type class_ref 128440 // QString
4911           param in name "name" type class_ref 128440 // QString
4912         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4914         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4915   ${body}}
4917         
4918         
4919         
4920       end
4921     end
4923     class 129340 "QTcpSocket"
4924       visibility package 
4925       cpp_decl "${comment}${template}class ${name}${inherit} {
4926 ${members}};
4927 ${inlines}
4929       java_decl ""
4930       php_decl ""
4931       idl_decl ""
4932       explicit_switch_type ""
4933       
4934       operation 130448 "connected"
4935         stereotype "signal"
4936         protected explicit_return_type "void"
4937         nparams 0
4938         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4940         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4941   ${body}}
4943         
4944         
4945         
4946       end
4948       operation 130576 "error"
4949         stereotype "signal"
4950         protected explicit_return_type "void"
4951         nparams 1
4952           param in name "socketError" explicit_type "QAbstractSocket::SocketError"
4953         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4955         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4956   ${body}}
4958         
4959         
4960         
4961       end
4963       operation 130320 "readyRead"
4964         stereotype "signal"
4965         protected explicit_return_type "void"
4966         nparams 0
4967         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4969         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4970   ${body}}
4972         
4973         
4974         
4975       end
4976     end
4978     class 129212 "QTcpServer"
4979       visibility package 
4980       cpp_decl "${comment}${template}class ${name}${inherit} {
4981 ${members}};
4982 ${inlines}
4984       java_decl ""
4985       php_decl ""
4986       idl_decl ""
4987       explicit_switch_type ""
4988       
4989       operation 130192 "newConnection"
4990         stereotype "signal"
4991         protected explicit_return_type "void"
4992         nparams 0
4993         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
4995         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
4996   ${body}}
4998         
4999         
5000         
5001       end
5002     end
5004     class 129473 "QXmlStreamReader"
5005       visibility package 
5006       cpp_decl "${comment}${template}class ${name}${inherit} {
5007 ${members}};
5008 ${inlines}
5010       java_decl ""
5011       php_decl ""
5012       idl_decl ""
5013       explicit_switch_type ""
5014       
5015     end
5017     class 129601 "QXmlStreamWriter"
5018       visibility package 
5019       cpp_decl "${comment}${template}class ${name}${inherit} {
5020 ${members}};
5021 ${inlines}
5023       java_decl ""
5024       php_decl ""
5025       idl_decl ""
5026       explicit_switch_type ""
5027       
5028     end
5030     class 128003 "ThreatSearchAI"
5031       visibility package 
5032       cpp_decl "${comment}${template}class ${name}${inherit} {
5033 ${members}};
5034 ${inlines}
5036       java_decl ""
5037       php_decl ""
5038       idl_decl ""
5039       explicit_switch_type ""
5040       
5041       classrelation 128003 // <realization>
5042         relation 128003 -_-|>
5043           a public
5044             cpp default "${type}"
5045             classrelation_ref 128003 // <realization>
5046           b parent class_ref 129941 // AI
5047       end
5049       operation 131203 "ThreatSearchAI"
5050         public explicit_return_type ""
5051         nparams 1
5052           param in name "id" explicit_type "int"
5053         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5055         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5056   ${body}}
5058         
5059         
5060         
5061       end
5063       operation 128091 "~ThreatSerachAI"
5064         public explicit_return_type ""
5065         nparams 0
5066         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5068         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5069   ${body}}
5071         
5072         
5073         
5074       end
5076       attribute 128003 "_d1"
5077         protected explicit_type "int"
5078         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5080         java_decl ""
5081         php_decl ""
5082         idl_decl ""
5083       end
5085       attribute 128131 "_d2"
5086         protected explicit_type "int"
5087         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5089         java_decl ""
5090         php_decl ""
5091         idl_decl ""
5092       end
5094       attribute 128259 "_threat"
5095         protected type class_ref 128131 // Threat
5096         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5098         java_decl ""
5099         php_decl ""
5100         idl_decl ""
5101       end
5103       attribute 128387 "_mat"
5104         protected type class_ref 129557 // GameMatrix
5105         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5107         java_decl ""
5108         php_decl ""
5109         idl_decl ""
5110       end
5112       operation 131331 "init"
5113         public explicit_return_type "void"
5114         nparams 0
5115         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5117         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5118   ${body}}
5120         
5121         
5122         
5123       end
5125       operation 130947 "move"
5126         cpp_virtual public return_type class_ref 129173 // Point
5127         nparams 1
5128           param in name "level" explicit_type "int"
5129         
5130         
5131         
5132         
5133       end
5135       operation 131075 "forceMove"
5136         cpp_virtual public explicit_return_type "void"
5137         nparams 0
5138         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5140         
5141         
5142         
5143       end
5145       operation 131843 "movesUndone"
5146         cpp_virtual public explicit_return_type "void"
5147         nparams 0
5148         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5150         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5151   ${body}}
5153         
5154         
5155         
5156       end
5158       operation 131587 "createThreat"
5159         protected explicit_return_type "Threat*"
5160         nparams 0
5161         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5163         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5164   ${body}}
5166         
5167         
5168         
5169       end
5171       operation 131459 "defenseHook"
5172         protected return_type class_ref 129173 // Point
5173         nparams 0
5174         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5176         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5177   ${body}}
5179         
5180         
5181         
5182       end
5184       operation 131715 "defense"
5185         private return_type class_ref 129173 // Point
5186         nparams 1
5187           param in name "level" explicit_type "int"
5188         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5190         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5191   ${body}}
5193         
5194         
5195         
5196       end
5198       classrelation 128387 // <composition>
5199         relation 128387 *---
5200           a role_name "" multiplicity "0..1" protected
5201             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5203             classrelation_ref 128387 // <composition>
5204           b role_name "" protected
5205             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5207             classrelation_ref 128515 // <composition>
5208       end
5209     end
5211     class 128131 "Threat"
5212       visibility package 
5213       cpp_decl "${comment}${template}class ${name}${inherit} {
5214 ${members}};
5215 ${inlines}
5217       java_decl ""
5218       php_decl ""
5219       idl_decl ""
5220       explicit_switch_type ""
5221       
5222       class 128643 "Direction"
5223         visibility public stereotype "enum"
5224         cpp_decl "${comment}enum ${name} {
5225 ${items}
5228         java_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
5229 ${items};
5230 ${members}}
5232         php_decl "${comment}final ${visibility}class ${name} {
5233 ${items}}
5235         idl_decl "${comment}enum ${name} {
5236 ${items}};
5238         explicit_switch_type ""
5239         
5240         attribute 130179 "DIR_X"
5241           public type class_ref 128643 // Direction
5242           cpp_decl "  ${name}${value},${comment}"
5243           java_decl ""
5244           php_decl ""
5245           idl_decl ""
5246         end
5248         attribute 130307 "DIR_Y"
5249           public type class_ref 128643 // Direction
5250           cpp_decl "  ${name}${value},${comment}"
5251           java_decl ""
5252           php_decl ""
5253           idl_decl ""
5254         end
5256         attribute 130563 "DIR_Z"
5257           public type class_ref 128643 // Direction
5258           cpp_decl "  ${name}${value},${comment}"
5259           java_decl ""
5260           php_decl ""
5261           idl_decl ""
5262         end
5263       end
5265       class 128515 "Node"
5266         visibility private 
5267         cpp_decl "${comment}${template}class ${name}${inherit} {
5268 ${members}};
5269 ${inlines}
5271         java_decl ""
5272         php_decl ""
5273         idl_decl ""
5274         explicit_switch_type ""
5275         
5276         attribute 129539 "value"
5277           public explicit_type "int"
5278           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5280           java_decl ""
5281           php_decl ""
5282           idl_decl ""
5283         end
5285         attribute 129667 "point"
5286           public type class_ref 129173 // Point
5287           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5289           java_decl ""
5290           php_decl ""
5291           idl_decl ""
5292         end
5294         attribute 129795 "dir"
5295           public type class_ref 128739 // Direction
5296           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5298           java_decl ""
5299           php_decl ""
5300           idl_decl ""
5301         end
5303         attribute 129923 "par"
5304           public explicit_type "Node**"
5305           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5307           java_decl ""
5308           php_decl ""
5309           idl_decl ""
5310         end
5312         attribute 130051 "next"
5313           public explicit_type "Node*"
5314           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5316           java_decl ""
5317           php_decl ""
5318           idl_decl ""
5319         end
5321         classrelation 128643 // <unidirectional association>
5322           relation 128515 --->
5323             a role_name "" protected
5324               cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
5326               classrelation_ref 128643 // <unidirectional association>
5327             b multiplicity "*" parent class_ref 128643 // Direction
5328         end
5330         operation 133635 "Node"
5331           public explicit_return_type ""
5332           nparams 3
5333             param in name "val" explicit_type "int"
5334             param in name "p" type class_ref 129173 // Point
5335             param in name "dir" type class_ref 128739 // Direction
5336           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5338           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5339   ${body}}
5341           
5342           
5343           
5344         end
5346         operation 133507 "~Node"
5347           public explicit_return_type ""
5348           nparams 0
5349           cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5351           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5352   ${body}}
5354           
5355           
5356           
5357         end
5359         classrelation 129461 // <directional composition>
5360           relation 129333 *-->
5361             a role_name "" multiplicity "0..1" protected
5362               cpp default "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
5364               classrelation_ref 129461 // <directional composition>
5365             b parent class_ref 128515 // Node
5366         end
5367       end
5369       attribute 128515 "_ai"
5370         protected explicit_type "ThreatSearchAI*"
5371         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5373         java_decl ""
5374         php_decl ""
5375         idl_decl ""
5376       end
5378       attribute 128643 "_mat"
5379         protected explicit_type "GameMatrix*"
5380         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5382         java_decl ""
5383         php_decl ""
5384         idl_decl ""
5385       end
5387       attribute 128771 "_d1"
5388         protected explicit_type "int"
5389         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5391         java_decl ""
5392         php_decl ""
5393         idl_decl ""
5394       end
5396       attribute 128899 "_d2"
5397         protected explicit_type "int"
5398         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5400         java_decl ""
5401         php_decl ""
5402         idl_decl ""
5403       end
5405       attribute 129027 "_x"
5406         private explicit_type "QMap<Point,Node*>"
5407         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5409         java_decl ""
5410         php_decl ""
5411         idl_decl ""
5412       end
5414       attribute 129155 "_y"
5415         private explicit_type "QMap<Point,Node*>"
5416         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5418         java_decl ""
5419         php_decl ""
5420         idl_decl ""
5421       end
5423       attribute 129283 "_z"
5424         private explicit_type "QMap<Point,Node*>"
5425         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5427         java_decl ""
5428         php_decl ""
5429         idl_decl ""
5430       end
5432       attribute 129411 "_priority"
5433         private explicit_type "Node**"
5434         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5436         java_decl ""
5437         php_decl ""
5438         idl_decl ""
5439       end
5441       operation 132355 "Threat"
5442         public explicit_return_type ""
5443         nparams 1
5444           param in name "ai" explicit_type "ThreatSearchAI*"
5445         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5447         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5448   ${body}}
5450         
5451         
5452         
5453       end
5455       operation 128219 "~Threat"
5456         public explicit_return_type ""
5457         nparams 0
5458         cpp_decl "    ${comment}${inline}${virtual}${name}${(}${)}${volatile}${throw};
5460         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5461   ${body}}
5463         
5464         
5465         
5466       end
5468       operation 132483 "insert"
5469         public explicit_return_type "void"
5470         nparams 1
5471           param in name "point" type class_ref 129173 // Point
5472         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5474         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5475   ${body}}
5477         
5478         
5479         
5480       end
5482       classrelation 128515 // <composition>
5483         relation_ref 128387 // <composition>
5484       end
5486       operation 132611 "scanFromMatrix"
5487         public explicit_return_type "void"
5488         nparams 0
5489         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5491         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5492   ${body}}
5494         
5495         
5496         
5497       end
5499       operation 132739 "insertHook"
5500         protected explicit_return_type "void"
5501         nparams 1
5502           param in name "p" type class_ref 129173 // Point
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 132867 "scanFromMatrixHook"
5514         protected explicit_return_type "void"
5515         nparams 0
5516         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5518         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5519   ${body}}
5521         
5522         
5523         
5524       end
5526       operation 132995 "removeFromPriority"
5527         private explicit_return_type "void"
5528         nparams 1
5529           param in name "it" explicit_type "Node*"
5530         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5532         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5533   ${body}}
5535         
5536         
5537         
5538       end
5540       operation 133123 "insertInPriority"
5541         private explicit_return_type "void"
5542         nparams 1
5543           param in name "it" explicit_type "Node*"
5544         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5546         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5547   ${body}}
5549         
5550         
5551         
5552       end
5554       operation 133251 "evalInsert"
5555         private explicit_return_type "void"
5556         nparams 3
5557           param in name "p" type class_ref 129173 // Point
5558           param in name "index" explicit_type "int"
5559           param in name "dir" type class_ref 128739 // Direction
5560         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5562         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5563   ${body}}
5565         
5566         
5567         
5568       end
5570       operation 133379 "evalPriority"
5571         private explicit_return_type "int"
5572         nparams 2
5573           param in name "p" type class_ref 129173 // Point
5574           param in name "dir" type class_ref 128739 // Direction
5575         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5577         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5578   ${body}}
5580         
5581         
5582         
5583       end
5585       classrelation 128899 // <directional composition>
5586         relation 128771 *-->
5587           a role_name "" multiplicity "*" protected
5588             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5590             classrelation_ref 128899 // <directional composition>
5591           b parent class_ref 128515 // Node
5592       end
5593     end
5595     class 128387 "CCThreat"
5596       visibility package 
5597       cpp_decl "${comment}${template}class ${name}${inherit} {
5598 ${members}};
5599 ${inlines}
5601       java_decl ""
5602       php_decl ""
5603       idl_decl ""
5604       explicit_switch_type ""
5605       
5606       attribute 130691 "_opponentCC"
5607         private explicit_type "QVector<QList<ConnectedComponent>>"
5608         cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5610         java_decl ""
5611         php_decl ""
5612         idl_decl ""
5613       end
5615       operation 133763 "CCThreat"
5616         public explicit_return_type ""
5617         nparams 1
5618           param in name "ai" explicit_type "CCThreatSearchAI*"
5619         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5621         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5622   ${body}}
5624         
5625         
5626         
5627       end
5629       classrelation 128771 // <generalisation>
5630         relation 128643 ---|>
5631           a public
5632             cpp default "${type}"
5633             classrelation_ref 128771 // <generalisation>
5634           b parent class_ref 128131 // Threat
5635       end
5637       operation 133891 "insertHook"
5638         protected explicit_return_type "void"
5639         nparams 1
5640           param in name "p" type class_ref 129173 // Point
5641         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5643         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5644   ${body}}
5646         
5647         
5648         
5649       end
5651       operation 134019 "scanFromMatrixHook"
5652         protected explicit_return_type "void"
5653         nparams 0
5654         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5656         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5657   ${body}}
5659         
5660         
5661         
5662       end
5664       operation 134147 "find"
5665         private explicit_return_type "int"
5666         nparams 2
5667           param in name "id" explicit_type "int"
5668           param in name "p" type class_ref 129173 // Point
5669         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5671         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5672   ${body}}
5674         
5675         
5676         
5677       end
5679       operation 134275 "explore"
5680         private explicit_return_type "void"
5681         nparams 3
5682           param in name "p" type class_ref 129173 // Point
5683           param in name "id" explicit_type "int"
5684           param inout name "set" explicit_type "QSet<Point>"
5685         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5687         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5688   ${body}}
5690         
5691         
5692         
5693       end
5695       operation 134403 "merge"
5696         private explicit_return_type "void"
5697         nparams 2
5698           param in name "p1" type class_ref 129173 // Point
5699           param in name "p2" type class_ref 129173 // Point
5700         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5702         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5703   ${body}}
5705         
5706         
5707         
5708       end
5710       class 128771 "ConnectedComponent"
5711         visibility package 
5712         cpp_decl "${comment}${template}class ${name}${inherit} {
5713 ${members}};
5714 ${inlines}
5716         java_decl ""
5717         php_decl ""
5718         idl_decl ""
5719         explicit_switch_type ""
5720         
5721         operation 134531 "ConnectedComponent"
5722           public explicit_return_type ""
5723           nparams 1
5724             param in name "items" explicit_type "QSet<Point>"
5725           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5727           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5728   ${body}}
5730           
5731           
5732           
5733         end
5735         operation 134659 "ConnectedComponent"
5736           public explicit_return_type ""
5737           nparams 1
5738             param in name "p" type class_ref 129173 // Point
5739           cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
5741           cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
5742   ${body}}
5744           
5745           
5746           
5747         end
5749         attribute 130819 "nodes"
5750           public explicit_type "QSet<Point>"
5751           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5753           java_decl ""
5754           php_decl ""
5755           idl_decl ""
5756         end
5758         attribute 130947 "min_x"
5759           public explicit_type "int"
5760           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5762           java_decl ""
5763           php_decl ""
5764           idl_decl ""
5765         end
5767         attribute 131075 "min_y"
5768           public explicit_type "int"
5769           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5771           java_decl ""
5772           php_decl ""
5773           idl_decl ""
5774         end
5776         attribute 131203 "min_z"
5777           public explicit_type "int"
5778           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5780           java_decl ""
5781           php_decl ""
5782           idl_decl ""
5783         end
5785         attribute 131331 "max_x"
5786           public explicit_type "int"
5787           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5789           java_decl ""
5790           php_decl ""
5791           idl_decl ""
5792         end
5794         attribute 131459 "max_y"
5795           public explicit_type "int"
5796           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5798           java_decl ""
5799           php_decl ""
5800           idl_decl ""
5801         end
5803         attribute 131587 "max_z"
5804           public explicit_type "int"
5805           cpp_decl "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5807           java_decl ""
5808           php_decl ""
5809           idl_decl ""
5810         end
5811       end
5813       classrelation 129027 // <directional composition>
5814         relation 128899 *-->
5815           a role_name "" multiplicity "*" protected
5816             cpp default "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
5818             classrelation_ref 129027 // <directional composition>
5819           b parent class_ref 128771 // ConnectedComponent
5820       end
5821     end
5823     class 128259 "CCThreatSearchAI"
5824       visibility package 
5825       cpp_decl "${comment}${template}class ${name}${inherit} {
5826 ${members}};
5827 ${inlines}
5829       java_decl ""
5830       php_decl ""
5831       idl_decl ""
5832       explicit_switch_type ""
5833       
5834       classrelation 128259 // <generalisation>
5835         relation 128259 ---|>
5836           a public
5837             cpp default "${type}"
5838             classrelation_ref 128259 // <generalisation>
5839           b parent class_ref 128003 // ThreatSearchAI
5840       end
5842       operation 132227 "CCThreatSearchAI"
5843         public explicit_return_type ""
5844         nparams 1
5845           param in name "id" explicit_type "int"
5846         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5848         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5849   ${body}}
5851         
5852         
5853         
5854       end
5856       operation 132099 "createThreat"
5857         protected explicit_return_type "Threat*"
5858         nparams 0
5859         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5861         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5862   ${body}}
5864         
5865         
5866         
5867       end
5869       operation 131971 "defenseHook"
5870         protected return_type class_ref 129173 // Point
5871         nparams 0
5872         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5874         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5875   ${body}}
5877         
5878         
5879         
5880       end
5881     end
5883     class 128467 "StandAloneDialog"
5884       visibility package 
5885       cpp_decl "${comment}${template}class ${name}${inherit} {
5886 ${members}};
5887 ${inlines}
5889       java_decl ""
5890       php_decl ""
5891       idl_decl ""
5892       explicit_switch_type ""
5893       
5894       operation 128467 "accept"
5895         stereotype "slot"
5896         cpp_virtual private explicit_return_type "void"
5897         nparams 0
5898         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5900         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5901   ${body}}
5903         
5904         
5905         
5906       end
5908       operation 128339 "playersChanged"
5909         stereotype "slot"
5910         private explicit_return_type "void"
5911         nparams 1
5912           param in name "number" explicit_type "int"
5913         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5915         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5916   ${body}}
5918         
5919         
5920         
5921       end
5922     end
5924     class 128081 "OnlineDialog"
5925       visibility package 
5926       cpp_decl "${comment}${template}class ${name}${inherit} {
5927 ${members}};
5928 ${inlines}
5930       java_decl ""
5931       php_decl ""
5932       idl_decl ""
5933       explicit_switch_type ""
5934       
5935       operation 128337 "accept"
5936         stereotype "slot"
5937         cpp_virtual private explicit_return_type "void"
5938         nparams 0
5939         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5941         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5942   ${body}}
5944         
5945         
5946         
5947       end
5949       operation 128465 "addPlayer"
5950         stereotype "slot"
5951         public explicit_return_type "void"
5952         nparams 3
5953           param in name "id" explicit_type "int"
5954           param in name "name" type class_ref 128440 // QString
5955           param in name "type" type class_ref 128440 // QString
5956         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5958         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5959   ${body}}
5961         
5962         
5963         
5964       end
5966       operation 128113 "removePlayer"
5967         stereotype "slot"
5968         public explicit_return_type "void"
5969         nparams 1
5970           param in name "id" explicit_type "int"
5971         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5973         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5974   ${body}}
5976         
5977         
5978         
5979       end
5981       operation 128209 "connectToServer"
5982         stereotype "slot"
5983         public explicit_return_type "void"
5984         nparams 0
5985         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
5987         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
5988   ${body}}
5990         
5991         
5992         
5993       end
5995       operation 128593 "receiveSettings"
5996         stereotype "slot"
5997         public explicit_return_type "void"
5998         nparams 4
5999           param in name "d1" explicit_type "int"
6000           param in name "d2" explicit_type "int"
6001           param in name "timer" explicit_type "int"
6002           param in name "playing" explicit_type "bool"
6003         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6005         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6006   ${body}}
6008         
6009         
6010         
6011       end
6012     end
6014     class 128723 "ServSetDialog"
6015       visibility package 
6016       cpp_decl "${comment}${template}class ${name}${inherit} {
6017 ${members}};
6018 ${inlines}
6020       java_decl ""
6021       php_decl ""
6022       idl_decl ""
6023       explicit_switch_type ""
6024       
6025       operation 128851 "ServSetDialog"
6026         public explicit_return_type ""
6027         nparams 0
6028         cpp_decl "    ${comment}${inline}${name}${(}${)}${volatile}${throw};
6030         cpp_def "${comment}${inline}${class}::${name}${(}${)}${volatile}${throw} {
6031   ${body}}
6033         
6034         
6035         
6036       end
6038       operation 128595 "playersChanged"
6039         stereotype "slot"
6040         private explicit_return_type "void"
6041         nparams 1
6042           param in name "number" explicit_type "int"
6043         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6045         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6046   ${body}}
6048         
6049         
6050         
6051       end
6053       operation 128723 "accept"
6054         stereotype "slot"
6055         cpp_virtual private explicit_return_type "void"
6056         nparams 0
6057         cpp_decl "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
6059         cpp_def "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
6060   ${body}}
6062         
6063         
6064         
6065       end
6066     end
6068     class 128440 "QString"
6069       visibility package 
6070       cpp_decl "${comment}${template}class ${name}${inherit} {
6071 ${members}};
6072 ${inlines}
6074       java_decl ""
6075       php_decl ""
6076       idl_decl ""
6077       explicit_switch_type ""
6078       
6079     end
6081     class 129199 "QStringList"
6082       visibility package 
6083       cpp_decl "${comment}${template}class ${name}${inherit} {
6084 ${members}};
6085 ${inlines}
6087       java_decl ""
6088       php_decl ""
6089       idl_decl ""
6090       explicit_switch_type ""
6091       
6092     end
6094     class 128182 "QList"
6095       visibility package 
6096       nformals 1
6097       formal name "T" type "typename" explicit_default_value ""
6098         explicit_extends ""
6099       cpp_decl "${comment}${template}class ${name}${inherit} {
6100 ${members}};
6101 ${inlines}
6103       java_decl ""
6104       php_decl ""
6105       idl_decl ""
6106       explicit_switch_type ""
6107       
6108     end
6110     class 128122 "QLinkedList"
6111       visibility package 
6112       nformals 1
6113       formal name "T" type "typename" explicit_default_value ""
6114         explicit_extends ""
6115       cpp_decl "${comment}${template}class ${name}${inherit} {
6116 ${members}};
6117 ${inlines}
6119       java_decl ""
6120       php_decl ""
6121       idl_decl ""
6122       explicit_switch_type ""
6123       
6124     end
6126     class 128054 "QMap"
6127       visibility package 
6128       nformals 2
6129       formal name "K" type "typename" explicit_default_value ""
6130         explicit_extends ""
6131       formal name "T" type "typename" explicit_default_value ""
6132         explicit_extends ""
6133       cpp_decl "${comment}${template}class ${name}${inherit} {
6134 ${members}};
6135 ${inlines}
6137       java_decl ""
6138       php_decl ""
6139       idl_decl ""
6140       explicit_switch_type ""
6141       
6142     end
6144     class 129327 "QVector"
6145       visibility package 
6146       nformals 1
6147       formal name "T" type "typename" explicit_default_value ""
6148         explicit_extends ""
6149       cpp_decl "${comment}${template}class ${name}${inherit} {
6150 ${members}};
6151 ${inlines}
6153       java_decl ""
6154       php_decl ""
6155       idl_decl ""
6156       explicit_switch_type ""
6157       
6158     end
6160     sequencediagram 128054 "InitSequence"
6161       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations yes shadow default
6162       size A1
6163     end
6165     sequencediagram 128148 "GameLoop::run"
6166       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6167       overlapping_bars size A3
6168     end
6170     sequencediagram 128213 "HumanPlayer::doMove"
6171       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6172       overlapping_bars size A3
6173     end
6175     sequencediagram 129168 "RemotePlayer::doMove"
6176       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6177       overlapping_bars size A3
6178     end
6180     sequencediagram 128024 "AIPlayer::doMove"
6181       show_full_operations_definition default write_horizontally default class_drawing_mode default drawing_language default draw_all_relations default shadow default
6182       overlapping_bars size A3
6183     end
6185     activity 128011 "GameMatrix::add"
6186       activitydiagram 128011 "add"
6187         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
6188         show_infonote default drawing_language default
6189         size A3
6190       end
6192       parameter 128011 "move" explicit_type ""
6193         unordered 
6194         in
6195         flow 128011 "<flow>"
6196           on pin_ref 128011 // m
6197         end
6198       end
6200       activitynode 128011 initial ""
6201         flow 128139 "<flow>"
6202           on activityaction_ref 128011 // activity action assegna m.playerId() all'elemento di _matrix in posizione m.point()
6203         end
6204       end
6206       activityaction 128011 "assegna m.playerId() all'elemento di _matrix in posizione m.point()"
6207         opaque_action
6208         pin 128011 "m" explicit_type ""
6209           unordered 
6210           in
6211         end
6213         flow 128267 "<flow>"
6214           on expansionnode_ref 128011 // dir
6215         end
6216       end
6218       expansionregion 128011 ""
6219         iterative
6220         expansionnode 128011 "dir"
6221            explicit_type ""
6222           unordered is_control
6223           flow 128395 "<flow>"
6224             on activityaction_ref 128267 // activity action sceglie d tra {x, y, z} a seconda del valore dir[j]
6225           end
6226         end
6228         activityaction 128139 "start = max{0, m.point().d() - _d1 + 1}, i = 0"
6229           opaque_action
6230           flow 129419 "<flow>"
6231             on activitynode_ref 128395 // merge
6232           end
6233         end
6235         activityaction 128267 "sceglie d tra {x, y, z} a seconda del valore dir[j]"
6236           opaque_action
6237           pin 128139 "d" explicit_type ""
6238             unordered 
6239             out
6240             flow 130955 "<flow>"
6241               on activityaction_ref 128139 // activity action start = max{0, m.point().d() - _d1 + 1}, i = 0
6242             end
6243           end
6244         end
6246         activityaction 128395 "i = i + 1"
6247           opaque_action
6248           flow 129675 "<flow>"
6249             on activitynode_ref 128395 // merge
6250           end
6251         end
6253         activityaction 128523 "costruisco un Point k con le stesse coordinate di m.point() a meno della coordinata d che assume il valore start + i"
6254           opaque_action
6255           flow 129163 "<flow>"
6256             on activitynode_ref 128267 // decision
6257           end
6258         end
6260         activitynode 128267 decision ""
6261           flow 129291 "<flow>"
6262             on activityaction_ref 128395 // activity action i = i + 1
6263               uml_guard "elementAt(k) == m.playerId()"
6264           end
6266           flow 130571 "<flow>"
6267             on activityaction_ref 128779 // activity action i = 0, start = start + 1
6268               uml_guard "else"
6269           end
6271           flow 130699 "<flow>"
6272             on activitynode_ref 128779 // flow_final
6273               uml_guard "elementAt(k) == -2"
6274           end
6275         end
6277         activitynode 128395 merge ""
6278           flow 129248 "<flow>"
6279             on activitynode_ref 129248 // decision
6280           end
6281         end
6283         activitynode 128523 decision ""
6284           flow 129803 "<flow>"
6285             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
6286               uml_guard "else"
6287           end
6289           flow 129632 "<flow>"
6290             on activitynode_ref 128779 // flow_final
6291               uml_guard "start > m.point().d()"
6292           end
6293         end
6295         expansionnode 128139 ""
6296            explicit_type ""
6297           unordered is_control
6298           flow 131595 "<flow>"
6299             on activitynode_ref 129035 // decision
6300           end
6301         end
6303         activitynode 129248 decision ""
6304           flow 129376 "<flow>"
6305             on activitynode_ref 128523 // decision
6306               uml_guard "i < _d1"
6307           end
6309           flow 129760 "<flow>"
6310             on activitynode_ref 129291 // merge
6311               uml_guard "else"
6312           end
6313         end
6314       end
6316       parameter 128139 "win" explicit_type ""
6317         unordered is_control
6318         out
6319       end
6321       activityaction 128651 "win = true"
6322         opaque_action
6323         flow 130187 "<flow>"
6324           on activitynode_ref 128651 // merge
6325         end
6326       end
6328       activitynode 128651 merge ""
6329         flow 130315 "<flow>"
6330           on parameter_ref 128139 // win
6331         end
6332       end
6334       activityaction 128779 "i = 0, start = start + 1"
6335         opaque_action
6336         flow 130827 "<flow>"
6337           on activitynode_ref 128395 // merge
6338         end
6339       end
6341       activitynode 128779 flow_final ""
6342       end
6344       activityaction 128907 "win = false"
6345         opaque_action
6346         flow 131211 "<flow>"
6347           on activitynode_ref 128651 // merge
6348         end
6349       end
6351       activitynode 128907 merge ""
6352         flow 131339 "<flow>"
6353           on activityaction_ref 128907 // activity action win = false
6354         end
6355       end
6357       activityaction 129035 "set = {}, extractCC(point, id, set)"
6358         opaque_action
6359         flow 131979 "<flow>"
6360           on activityaction_ref 129163 // activity action ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}
6361         end
6362       end
6364       activitynode 129035 decision ""
6365         flow 131723 "<flow>"
6366           on activitynode_ref 128907 // merge
6367             uml_guard "else"
6368         end
6370         flow 131851 "<flow>"
6371           on activityaction_ref 129035 // activity action set = {}, extractCC(point, id, set)
6372             uml_guard "_d2 == 3"
6373         end
6374       end
6376       activityaction 129163 "ricavo da set le coppie (min, max) per ogni coordinata in {x, y, z}"
6377         opaque_action
6378         pin 128267 "estremi" explicit_type ""
6379            multiplicity "3" unordered 
6380           out
6381           flow 132107 "<flow>"
6382             on activitynode_ref 129163 // decision
6383           end
6384         end
6385       end
6387       activitynode 129163 decision ""
6388         flow 132491 "<flow>"
6389           on activitynode_ref 129291 // merge
6390             uml_guard "esiste i in [0, 2] tale che estremi[i] == (0, (_d1 * _d2) - 1)"
6391         end
6393         flow 132619 "<flow>"
6394           on activitynode_ref 128907 // merge
6395             uml_guard "else"
6396         end
6397       end
6399       activitynode 129291 merge ""
6400         flow 132235 "<flow>"
6401           on activityaction_ref 128651 // activity action win = true
6402         end
6403       end
6404     end
6405   end
6407   package_ref 128002 // GUI
6409   package_ref 128130 // Network
6411   package_ref 128258 // Core
6413   package_ref 128386 // AI