forked from IF-LK-2020/wordle
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
ee038e8a7f
167
umlet.uxf
167
umlet.uxf
|
@ -4,8 +4,8 @@
|
|||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>612</x>
|
||||
<y>234</y>
|
||||
<x>648</x>
|
||||
<y>198</y>
|
||||
<w>90</w>
|
||||
<h>27</h>
|
||||
</coordinates>
|
||||
|
@ -15,8 +15,8 @@
|
|||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>612</x>
|
||||
<y>351</y>
|
||||
<x>648</x>
|
||||
<y>315</y>
|
||||
<w>90</w>
|
||||
<h>27</h>
|
||||
</coordinates>
|
||||
|
@ -26,8 +26,8 @@
|
|||
<element>
|
||||
<id>Relation</id>
|
||||
<coordinates>
|
||||
<x>648</x>
|
||||
<y>252</y>
|
||||
<x>684</x>
|
||||
<y>216</y>
|
||||
<w>27</w>
|
||||
<h>117</h>
|
||||
</coordinates>
|
||||
|
@ -37,19 +37,43 @@
|
|||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>387</x>
|
||||
<y>441</y>
|
||||
<w>90</w>
|
||||
<h>27</h>
|
||||
<x>171</x>
|
||||
<y>405</y>
|
||||
<w>261</w>
|
||||
<h>351</h>
|
||||
</coordinates>
|
||||
<panel_attributes>User</panel_attributes>
|
||||
<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>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>351</x>
|
||||
<y>351</y>
|
||||
<x>306</x>
|
||||
<y>297</y>
|
||||
<w>126</w>
|
||||
<h>27</h>
|
||||
</coordinates>
|
||||
|
@ -59,47 +83,126 @@
|
|||
<element>
|
||||
<id>Relation</id>
|
||||
<coordinates>
|
||||
<x>648</x>
|
||||
<y>369</y>
|
||||
<w>27</w>
|
||||
<x>684</x>
|
||||
<y>333</y>
|
||||
<w>108</w>
|
||||
<h>90</h>
|
||||
</coordinates>
|
||||
<panel_attributes>lt=<.
|
||||
</panel_attributes>
|
||||
<additional_attributes>10.0;80.0;10.0;10.0</additional_attributes>
|
||||
-wordleServer</panel_attributes>
|
||||
<additional_attributes>10.0;10.0;10.0;80.0</additional_attributes>
|
||||
</element>
|
||||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>567</x>
|
||||
<y>441</y>
|
||||
<w>189</w>
|
||||
<h>171</h>
|
||||
<x>558</x>
|
||||
<y>405</y>
|
||||
<w>270</w>
|
||||
<h>99</h>
|
||||
</coordinates>
|
||||
<panel_attributes>Game
|
||||
--
|
||||
-wordleServer: WordleServer
|
||||
-wordle: String
|
||||
-timesPlayed: int
|
||||
-winPercentage: int
|
||||
-currentStreak: int
|
||||
-maxStreak: int
|
||||
-wonInTurn: int[]
|
||||
|
||||
-words: String[]
|
||||
-wordCount: int
|
||||
--
|
||||
+processMessage(String msg): void
|
||||
</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<element>
|
||||
<id>UMLClass</id>
|
||||
<coordinates>
|
||||
<x>819</x>
|
||||
<y>441</y>
|
||||
<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>
|
||||
<w>90</w>
|
||||
<h>27</h>
|
||||
</coordinates>
|
||||
<panel_attributes>GUI</panel_attributes>
|
||||
<panel_attributes>QueryResult</panel_attributes>
|
||||
<additional_attributes/>
|
||||
</element>
|
||||
<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>
|
||||
</diagram>
|
||||
|
|
Loading…
Reference in New Issue