wordle/umlet.uxf

209 lines
4.5 KiB
Plaintext
Raw Normal View History

2022-02-07 09:42:42 +01:00
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="14.3.0">
2022-02-10 11:35:59 +01:00
<zoom_level>12</zoom_level>
2022-02-07 09:42:42 +01:00
<element>
<id>UMLClass</id>
<coordinates>
2022-02-10 11:35:59 +01:00
<x>636</x>
<y>144</y>
<w>120</w>
<h>36</h>
2022-02-07 09:42:42 +01:00
</coordinates>
<panel_attributes>Server</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
2022-02-10 11:35:59 +01:00
<x>636</x>
<y>300</y>
<w>120</w>
<h>36</h>
2022-02-07 09:42:42 +01:00
</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>
2022-02-10 11:35:59 +01:00
<y>168</y>
<w>36</w>
<h>156</h>
2022-02-07 09:42:42 +01:00
</coordinates>
<panel_attributes>lt=&lt;&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:35:59 +01:00
<x>0</x>
<y>420</y>
<w>348</w>
<h>468</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[]
--
2022-02-10 11:35:59 +01:00
+setPassword(String password): void
2022-02-10 11:10:03 +01:00
+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:35:59 +01:00
<x>180</x>
<y>276</y>
<w>168</w>
<h>36</h>
2022-02-07 09:42:42 +01:00
</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>
2022-02-10 11:35:59 +01:00
<y>324</y>
<w>144</w>
<h>120</h>
2022-02-07 09:42:42 +01:00
</coordinates>
<panel_attributes>lt=&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:35:59 +01:00
<x>516</x>
<y>420</y>
<w>360</w>
<h>132</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:35:59 +01:00
<x>1020</x>
<y>420</y>
<w>288</w>
<h>84</h>
2022-02-10 11:10:03 +01:00
</coordinates>
<panel_attributes>GUI
--
+setLetter(char letter): void
+setLetterColor(byte color): void</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
2022-02-10 11:35:59 +01:00
<x>108</x>
<y>156</y>
<w>120</w>
<h>36</h>
2022-02-07 09:42:42 +01:00
</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>
2022-02-10 11:35:59 +01:00
<x>336</x>
<y>408</y>
<w>204</w>
<h>48</h>
2022-02-10 11:10:03 +01:00
</coordinates>
<panel_attributes>lt=&lt;.
-user</panel_attributes>
<additional_attributes>10.0;20.0;150.0;20.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
2022-02-10 11:35:59 +01:00
<x>864</x>
<y>408</y>
<w>180</w>
<h>48</h>
2022-02-10 11:10:03 +01:00
</coordinates>
<panel_attributes>lt=&lt;.
-gui</panel_attributes>
<additional_attributes>130.0;20.0;10.0;20.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
2022-02-10 11:35:59 +01:00
<x>336</x>
<y>276</y>
<w>264</w>
<h>168</h>
2022-02-10 11:10:03 +01:00
</coordinates>
<panel_attributes>lt=&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>
2022-02-10 11:35:59 +01:00
<x>1020</x>
<y>0</y>
<w>288</w>
<h>300</h>
2022-02-10 11:10:03 +01:00
</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>
2022-02-10 11:35:59 +01:00
<x>1152</x>
<y>288</y>
<w>156</w>
<h>156</h>
2022-02-10 11:10:03 +01:00
</coordinates>
<panel_attributes>lt=&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>