2022-02-07 09:42:42 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
|
<diagram program="umlet" version="14.3.0">
|
|
|
|
<zoom_level>9</zoom_level>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>648</x>
|
|
|
|
<y>198</y>
|
2022-02-07 09:42:42 +01:00
|
|
|
<w>90</w>
|
|
|
|
<h>27</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>Server</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>648</x>
|
|
|
|
<y>315</y>
|
2022-02-07 09:42:42 +01:00
|
|
|
<w>90</w>
|
|
|
|
<h>27</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>WordleServer</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>684</x>
|
|
|
|
<y>216</y>
|
2022-02-07 09:42:42 +01:00
|
|
|
<w>27</w>
|
|
|
|
<h>117</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<<-</panel_attributes>
|
|
|
|
<additional_attributes>10.0;10.0;10.0;110.0</additional_attributes>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>171</x>
|
|
|
|
<y>405</y>
|
|
|
|
<w>261</w>
|
|
|
|
<h>351</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<panel_attributes>User
|
|
|
|
--
|
|
|
|
-name: String
|
|
|
|
-password: String
|
|
|
|
|
|
|
|
-timesPlayed: int
|
|
|
|
-winPercentage: int
|
|
|
|
-currentStreak: int
|
|
|
|
-maxStreak: int
|
|
|
|
-wonInTurn: int[]
|
|
|
|
--
|
|
|
|
+setPassword(String pw): void
|
|
|
|
+getPassword(): String
|
|
|
|
+setName(String name): void
|
|
|
|
+getName(): String
|
|
|
|
+setTimesPlayed(int timesPlayed): void
|
|
|
|
+getTimesPlayed(): int
|
|
|
|
+setWinPercentage(int winPercentage): void
|
|
|
|
+getWinPercentage(): int
|
|
|
|
+setCurrentStreak(int currentStreak): void
|
|
|
|
+getCurrentStreak(): int
|
|
|
|
+setMaxStreak(int maxStreak): void
|
|
|
|
+getMaxStreak(): int
|
|
|
|
+setWonInTurn(int[] wonInTurn): void
|
|
|
|
+getWonInTurn(int turn): int</panel_attributes>
|
2022-02-07 09:42:42 +01:00
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>306</x>
|
|
|
|
<y>297</y>
|
2022-02-07 09:42:42 +01:00
|
|
|
<w>126</w>
|
|
|
|
<h>27</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>DatabaseConnector</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>684</x>
|
|
|
|
<y>333</y>
|
|
|
|
<w>108</w>
|
2022-02-07 09:42:42 +01:00
|
|
|
<h>90</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
2022-02-10 11:10:03 +01:00
|
|
|
-wordleServer</panel_attributes>
|
|
|
|
<additional_attributes>10.0;10.0;10.0;80.0</additional_attributes>
|
2022-02-07 09:42:42 +01:00
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>558</x>
|
|
|
|
<y>405</y>
|
|
|
|
<w>270</w>
|
|
|
|
<h>99</h>
|
2022-02-07 09:42:42 +01:00
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>Game
|
|
|
|
--
|
|
|
|
-wordle: String
|
|
|
|
-words: String[]
|
|
|
|
-wordCount: int
|
2022-02-10 11:10:03 +01:00
|
|
|
--
|
|
|
|
+processMessage(String msg): void
|
2022-02-07 09:42:42 +01:00
|
|
|
</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<x>936</x>
|
|
|
|
<y>405</y>
|
|
|
|
<w>216</w>
|
|
|
|
<h>63</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>GUI
|
|
|
|
--
|
|
|
|
+setLetter(char letter): void
|
|
|
|
+setLetterColor(byte color): void</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
|
|
|
<x>252</x>
|
|
|
|
<y>207</y>
|
2022-02-07 09:42:42 +01:00
|
|
|
<w>90</w>
|
|
|
|
<h>27</h>
|
|
|
|
</coordinates>
|
2022-02-10 11:10:03 +01:00
|
|
|
<panel_attributes>QueryResult</panel_attributes>
|
2022-02-07 09:42:42 +01:00
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
2022-02-10 11:10:03 +01:00
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
|
|
|
<x>423</x>
|
|
|
|
<y>396</y>
|
|
|
|
<w>153</w>
|
|
|
|
<h>36</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
|
|
|
-user</panel_attributes>
|
|
|
|
<additional_attributes>10.0;20.0;150.0;20.0</additional_attributes>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
|
|
|
<x>819</x>
|
|
|
|
<y>396</y>
|
|
|
|
<w>135</w>
|
|
|
|
<h>36</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
|
|
|
-gui</panel_attributes>
|
|
|
|
<additional_attributes>130.0;20.0;10.0;20.0</additional_attributes>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
|
|
|
<x>423</x>
|
|
|
|
<y>297</y>
|
|
|
|
<w>198</w>
|
|
|
|
<h>126</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
|
|
|
-databaseConnector</panel_attributes>
|
|
|
|
<additional_attributes>10.0;20.0;200.0;20.0;200.0;120.0</additional_attributes>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>UMLClass</id>
|
|
|
|
<coordinates>
|
|
|
|
<x>936</x>
|
|
|
|
<y>90</y>
|
|
|
|
<w>216</w>
|
|
|
|
<h>225</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>Letter
|
|
|
|
--
|
|
|
|
WHITE: byte = -1
|
|
|
|
GRAY: byte = 0
|
|
|
|
YELLOW: byte = 1
|
|
|
|
GREEN: byte = 2
|
|
|
|
|
|
|
|
-letter: char
|
|
|
|
-color: byte
|
|
|
|
--
|
|
|
|
+setColor(byte color): void
|
|
|
|
+getColor(): byte</panel_attributes>
|
|
|
|
<additional_attributes/>
|
|
|
|
</element>
|
|
|
|
<element>
|
|
|
|
<id>Relation</id>
|
|
|
|
<coordinates>
|
|
|
|
<x>1035</x>
|
|
|
|
<y>306</y>
|
|
|
|
<w>117</w>
|
|
|
|
<h>117</h>
|
|
|
|
</coordinates>
|
|
|
|
<panel_attributes>lt=<.
|
|
|
|
-letters: Letter[][]</panel_attributes>
|
|
|
|
<additional_attributes>10.0;10.0;10.0;110.0</additional_attributes>
|
|
|
|
</element>
|
2022-02-07 09:42:42 +01:00
|
|
|
</diagram>
|