gb-java-devel/pics/jd-01-ttt-01.svg

1 line
14 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="353px" preserveAspectRatio="none" style="width:1046px;height:353px;background:#FFFFFF;" version="1.1" viewBox="0 0 1046 353" width="1046px" zoomAndPan="magnify"><defs/><g><!--class GameWindow--><g id="elem_GameWindow"><rect codeLine="3" fill="#FFFFFF" height="190.6719" id="GameWindow" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="258" x="315" y="12"/><ellipse cx="391.25" cy="26" fill="#FFFFFF" rx="9" ry="9" style="stroke:#000000;stroke-width:1.0;"/><path d="M390.0469,26.875 L391.5,26.875 L391.5,26.9844 C391.5,27.375 391.5313,27.5625 391.6094,27.7188 C391.7656,27.9531 392.0469,28.125 392.3438,28.125 C392.5938,28.125 392.8594,27.9844 393.0156,27.7656 C393.1406,27.5938 393.1719,27.4531 393.1719,26.9844 L393.1719,25.0625 C393.1719,24.6406 393.1563,24.5156 393.0625,24.3594 C392.9063,24.0938 392.625,23.9375 392.3438,23.9375 C392.0781,23.9375 391.8125,24.0781 391.6406,24.2969 C391.5313,24.4531 391.5,24.6406 391.5,25.0625 L391.5,25.1875 L390.0469,25.1875 L390.0469,22.7813 L394.4063,22.7813 L394.4063,23.6563 C394.4063,24.0469 394.4375,24.2344 394.5156,24.375 C394.6875,24.625 394.9688,24.7813 395.25,24.7813 C395.5156,24.7813 395.7813,24.6406 395.9531,24.4219 C396.0625,24.25 396.0938,24.1094 396.0938,23.6563 L396.0938,21.0938 L388.0938,21.0938 C387.6563,21.0938 387.5313,21.1094 387.375,21.2031 C387.125,21.3594 386.9688,21.6563 386.9688,21.9375 C386.9688,22.2188 387.1094,22.4688 387.3281,22.6406 C387.4844,22.75 387.6719,22.7813 388.0938,22.7813 L388.3438,22.7813 L388.3438,29.2969 L388.0938,29.2969 C387.6875,29.2969 387.5313,29.3125 387.375,29.4219 C387.125,29.5781 386.9688,29.8594 386.9688,30.1563 C386.9688,30.4063 387.1094,30.6719 387.3281,30.8281 C387.4688,30.9531 387.7031,31 388.0938,31 L391.75,31 C392.0938,31 392.3438,30.9531 392.4688,30.875 C392.7188,30.7344 392.875,30.4375 392.875,30.1563 C392.875,29.875 392.7344,29.625 392.5313,29.4531 C392.3594,29.3281 392.2031,29.2969 391.75,29.2969 L390.0469,29.2969 L390.0469,26.875 Z " fill="#000000"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="98" x="408.75" y="30.8467">GameWindow</text><line style="stroke:#000000;stroke-width:1.0;" x1="316" x2="572" y1="40" y2="40"/><rect fill="none" height="6" style="stroke:#000000;stroke-width:1.0;" width="6" x="323" y="50.6484"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" text-decoration="underline" textLength="234" x="333" y="56.9951">final int WINDOW\_HEIGHT = 555</text><rect fill="none" height="6" style="stroke:#000000;stroke-width:1.0;" width="6" x="323" y="66.9453"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" text-decoration="underline" textLength="229" x="333" y="73.292">final int WINDOW\_WIDTH = 507</text><rect fill="none" height="6" style="stroke:#000000;stroke-width:1.0;" width="6" x="323" y="83.2422"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" text-decoration="underline" textLength="219" x="333" y="89.5889">final int WINDOW\_POSX = 800</text><rect fill="none" height="6" style="stroke:#000000;stroke-width:1.0;" width="6" x="323" y="99.5391"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" text-decoration="underline" textLength="219" x="333" y="105.8857">final int WINDOW\_POSY = 300</text><polygon fill="none" points="326,114.8359,322,120.8359,330,120.8359" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="121" x="333" y="122.1826">JButton btnStart</text><polygon fill="none" points="326,131.1328,322,137.1328,330,137.1328" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="112" x="333" y="138.4795">JButton btnExit</text><polygon fill="none" points="326,147.4297,322,153.4297,330,153.4297" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="71" x="333" y="154.7764">Map map;</text><polygon fill="none" points="326,163.7266,322,169.7266,330,169.7266" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="185" x="333" y="171.0732">SettingsWindow settings;</text><line style="stroke:#000000;stroke-width:1.0;" x1="316" x2="572" y1="178.375" y2="178.375"/><polygon fill="#FFFFFF" points="326,188.0234,322,194.0234,330,194.0234" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="108" x="333" y="195.3701">GameWindow()</text></g><!--class SettingsWindow--><g id="elem_SettingsWindow"><rect codeLine="16" fill="#FFFFFF" height="60.2969" id="SettingsWindow" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="247" x="319.5" y="286"/><ellipse cx="380.75" cy="300" fill="#FFFFFF" rx="9" ry="9" style="stroke:#000000;stroke-width:1.0;"/><path d="M379.5469,300.875 L381,300.875 L381,300.9844 C381,301.375 381.0313,301.5625 381.1094,301.7188 C381.2656,301.9531 381.5469,302.125 381.8438,302.125 C382.0938,302.125 382.3594,301.9844 382.5156,301.7656 C382.6406,301.5938 382.6719,301.4531 382.6719,300.9844 L382.6719,299.0625 C382.6719,298.6406 382.6563,298.5156 382.5625,298.3594 C382.4063,298.0938 382.125,297.9375 381.8438,297.9375 C381.5781,297.9375 381.3125,298.0781 381.1406,298.2969 C381.0313,298.4531 381,298.6406 381,299.0625 L381,299.1875 L379.5469,299.1875 L379.5469,296.7813 L383.9063,296.7813 L383.9063,297.6563 C383.9063,298.0469 383.9375,298.2344 384.0156,298.375 C384.1875,298.625 384.4688,298.7813 384.75,298.7813 C385.0156,298.7813 385.2813,298.6406 385.4531,298.4219 C385.5625,298.25 385.5938,298.1094 385.5938,297.6563 L385.5938,295.0938 L377.5938,295.0938 C377.1563,295.0938 377.0313,295.1094 376.875,295.2031 C376.625,295.3594 376.4688,295.6563 376.4688,295.9375 C376.4688,296.2188 376.6094,296.4688 376.8281,296.6406 C376.9844,296.75 377.1719,296.7813 377.5938,296.7813 L377.8438,296.7813 L377.8438,303.2969 L377.5938,303.2969 C377.1875,303.2969 377.0313,303.3125 376.875,303.4219 C376.625,303.5781 376.4688,303.8594 376.4688,304.1563 C376.4688,304.4063 376.6094,304.6719 376.8281,304.8281 C376.9688,304.9531 377.2031,305 377.5938,305 L381.25,305 C381.5938,305 381.8438,304.9531 381.9688,304.875 C382.2188,304.7344 382.375,304.4375 382.375,304.1563 C382.375,303.875 382.2344,303.625 382.0313,303.4531 C381.8594,303.3281 381.7031,303.2969 381.25,303.2969 L379.5469,303.2969 L379.5469,300.875 Z " fill="#000000"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="117" x="398.25" y="304.8467">SettingsWindow</text><line style="stroke:#000000;stroke-width:1.0;" x1="320.5" x2="565.5" y1="314" y2="314"/><line style="stroke:#000000;stroke-width:1.0;" x1="320.5" x2="565.5" y1="322" y2="322"/><polygon fill="#FFFFFF" points="330.5,331.6484,326.5,337.6484,334.5,337.6484" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="223" x="337.5" y="338.9951">SettingsWindow(gameWindow)</text></g><!--class Main--><g id="elem_Main"><rect codeLine="20" fill="#FFFFFF" height="60.2969" id="Main" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="196" x="12" y="76.5"/><ellipse cx="89.75" cy="90.5" fill="#FFFFFF" rx="9" ry="9" style="stroke:#000000;stroke-width:1.0;"/><path d="M91.8281,92.3125 L92.2188,93.2969 L91.8281,93.2969 C91.375,93.2969 91.2656,93.3125 91.1094,93.4219 C90.8594,93.5781 90.7031,93.8594 90.7031,94.1563 C90.7031,94.4219 90.8438,94.6719 91.0625,94.8281 C91.2031,94.9531 91.4063,95 91.8281,95 L94.1875,95 C94.5469,95 94.7656,94.9688 94.9063,94.875 C95.1563,94.7344 95.3125,94.4375 95.3125,94.1563 C95.3125,93.875 95.1719,93.625 94.9531,93.4688 C94.7813,93.3281 94.625,93.2969 94.1563,93.2969 L90.7656,85.0938 L87.0938,85.0938 C86.6406,85.0938 86.5156,85.1094 86.3594,85.2031 C86.1094,85.375 85.9531,85.6563 85.9531,85.9375 C85.9531,86.2188 86.0938,86.4688 86.3125,86.6406 C86.4844,86.75 86.6563,86.7813 87.0938,86.7813 L88.1719,86.7813 L85.5313,93.2969 C85.1094,93.2969 84.9531,93.3125 84.7969,93.4219 C84.5469,93.5781 84.3906,93.8594 84.3906,94.1563 C84.3906,94.7188 84.7656,95 85.5156,95 L87.7813,95 C88.1406,95 88.3594,94.9688 88.4844,94.875 C88.75,94.7344 88.8906,94.4375 88.8906,94.1563 C88.8906,93.875 88.7656,93.625 88.5469,93.4531 C88.375,93.3281 88.2344,93.2969 87.7813,93.2969 L87.3906,93.2969 L87.7813,92.3125 L91.8281,92.3125 Z M91.125,90.6094 L88.4531,90.6094 L89.7969,87.3438 L91.125,90.6094 Z " fill="#000000"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="33" x="107.25" y="95.3467">Main</text><line style="stroke:#000000;stroke-width:1.0;" x1="13" x2="207" y1="104.5" y2="104.5"/><line style="stroke:#000000;stroke-width:1.0;" x1="13" x2="207" y1="112.5" y2="112.5"/><ellipse cx="23" cy="126.1484" fill="#FFFFFF" rx="3" ry="3" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" text-decoration="underline" textLength="172" x="30" y="129.4951">void main(String[] args);</text></g><!--class Map--><g id="elem_Map"><rect codeLine="24" fill="#FFFFFF" height="76.5938" id="Map" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1.0;" width="347" x="692.5" y="68.5"/><ellipse cx="847.25" cy="82.5" fill="#FFFFFF" rx="9" ry="9" style="stroke:#000000;stroke-width:1.0;"/><path d="M846.7969,84.0938 L848.4688,84.0938 C850.0469,84.0938 850.8906,83.8125 851.6406,82.9844 C852.1875,82.3906 852.5,81.5781 852.5,80.7969 C852.5,78.9219 850.9688,77.5938 848.7969,77.5938 L844.8438,77.5938 C844.4063,77.5938 844.2813,77.6094 844.125,77.7031 C843.875,77.8594 843.7188,78.1563 843.7188,78.4375 C843.7188,78.6875 843.8594,78.9688 844.0781,79.1406 C844.2344,79.25 844.4219,79.2813 844.8438,79.2813 L845.0938,79.2813 L845.0938,85.7969 L844.8438,85.7969 C844.4375,85.7969 844.2813,85.8125 844.125,85.9219 C843.875,86.0781 843.7188,86.3594 843.7188,86.6563 C843.7188,86.9063 843.8594,87.1719 844.0781,87.3281 C844.2188,87.4531 844.4531,87.5 844.8438,87.5 L848.4844,87.5 C848.8281,87.5 849.0781,87.4531 849.1875,87.375 C849.4531,87.2344 849.6094,86.9375 849.6094,86.6563 C849.6094,86.375 849.4688,86.125 849.25,85.9531 C849.0781,85.8281 848.9375,85.7969 848.4844,85.7969 L846.7969,85.7969 L846.7969,84.0938 Z M846.7969,79.2813 L848.7969,79.2813 C849.9844,79.2813 850.6875,79.8906 850.6875,80.8594 C850.6875,81.8125 849.9844,82.4063 848.7969,82.4063 L846.7969,82.4063 L846.7969,79.2813 Z " fill="#000000"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="30" x="864.75" y="87.3467">Map</text><line style="stroke:#000000;stroke-width:1.0;" x1="693.5" x2="1038.5" y1="96.5" y2="96.5"/><line style="stroke:#000000;stroke-width:1.0;" x1="693.5" x2="1038.5" y1="104.5" y2="104.5"/><polygon fill="#FFFFFF" points="703.5,114.1484,699.5,120.1484,707.5,120.1484" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="45" x="710.5" y="121.4951">Map();</text><polygon fill="#FFFFFF" points="703.5,130.4453,699.5,136.4453,707.5,136.4453" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="323" x="710.5" y="137.792">void startNewGame(mode, fSzX, fSzY, wLen);</text></g><!--link Main to GameWindow--><g id="link_Main_GameWindow"><path codeLine="29" d="M208.405,106.5 C239.193,106.5 273.745,106.5 306.704,106.5 " fill="none" id="Main-GameWindow" style="stroke:#000000;stroke-width:1.0;"/><polygon fill="#000000" points="235.5,95.0664,226.4549,92.1275,226.4549,98.0053,235.5,95.0664" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="49" x="239.5" y="99.5669">invokes</text></g><!--link GameWindow to Map--><g id="link_GameWindow_Map"><path codeLine="30" d="M574,149.5 C615.556,149.5 630.377,168.175 667.5,149.5 C679.739,143.343 677.126,127.859 682.76,120.502 " fill="none" id="GameWindow-Map" style="stroke:#000000;stroke-width:1.0;"/><line style="stroke:#000000;stroke-width:1.0;" x1="682.76" x2="692" y1="120.502" y2="116.5"/><polygon fill="#000000" points="608.3312,139.7783,598.8343,139.2688,600.3486,144.9482,608.3312,139.7783" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="54" x="612.5" y="145.5669">contains</text></g><!--reverse link GameWindow to SettingsWindow--><g id="link_GameWindow_SettingsWindow"><path codeLine="31" d="M587.105,167.392 C647.917,185.904 638.253,334 568,334 " fill="none" id="GameWindow-backto-SettingsWindow" style="stroke:#000000;stroke-width:1.0;"/><polygon fill="none" points="574,165.5,579.3665,170.3168,585.8767,167.2157,580.5103,162.3989,574,165.5" style="stroke:#000000;stroke-width:1.0;"/><polygon fill="#000000" points="631.4304,248.5339,635.3806,239.8825,629.541,239.2128,631.4304,248.5339" style="stroke:#000000;stroke-width:1.0;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="49" x="641" y="248.0669">invokes</text></g><!--SRC=[ZP9lQy8m4CRVzrFStbLcGHYo4PsmeTEE-GSgLDd6o3JMi3OfpKs7uZxxhgxLKWSkBmAvFFUxkoUvmAM81CGXbygoPY4t1hey4hvKSxs6PlEX2kkbHD5gmTO2MWvi3NAKinqifE8XI8NWkuFsq7zvwtNSRcyCjr2lry-hVRSzxgNYslLvyMZeJKXxKwlzIpibxLMc_OR7-qz4hU0TbOSymTDmvqlcqJwF8U9n8pjw0b6gm6IMcEpOiBBxerrsnThb9fQo_Z2oJBQ30wZ0wTF3KFPTEVloEFzAoparB9NjOKAyvrVWIM0gZI8b9iZej0Mwi2lvf7kGIVqPY7KwbXtfkQZ2mjjCzlkK04z2_PBtdJc939Re5FyCewTOwGzXe6KTmuoHfGSvbMKiROh1J2iaKbcTsmpQSKf6CLOojr3n1m00]--></g></svg>