forked from IF-LK-2020/wordle
225 lines
5.0 KiB
XML
225 lines
5.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<diagram program="umlet" version="14.3.0">
|
|
<zoom_level>8</zoom_level>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>400</x>
|
|
<y>48</y>
|
|
<w>80</w>
|
|
<h>24</h>
|
|
</coordinates>
|
|
<panel_attributes>Server</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>400</x>
|
|
<y>152</y>
|
|
<w>80</w>
|
|
<h>24</h>
|
|
</coordinates>
|
|
<panel_attributes>WordleServer</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>Relation</id>
|
|
<coordinates>
|
|
<x>432</x>
|
|
<y>64</y>
|
|
<w>24</w>
|
|
<h>104</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>
|
|
<x>448</x>
|
|
<y>424</y>
|
|
<w>248</w>
|
|
<h>384</h>
|
|
</coordinates>
|
|
<panel_attributes>Guest
|
|
--
|
|
-name: String
|
|
-password: String
|
|
|
|
-timesPlayed: int
|
|
-winPercentage: float
|
|
-currentStreak: int
|
|
-maxStreak: int
|
|
-wonInTurn: int[]
|
|
--
|
|
+setPassword(String password): void
|
|
+getPassword(): String
|
|
+setName(String name): void
|
|
+getName(): String
|
|
+setWinPercentage(float winPercentage): void
|
|
+getWinPercentage(): float
|
|
+setTimesPlayed(int timesPlayed): void
|
|
+getTimesPlayed(): int
|
|
+increaseTimesPlayed(): void
|
|
+setCurrentStreak(int currentStreak): void
|
|
+getCurrentStreak(): int
|
|
+increaseCurrentStreak(): void
|
|
+setMaxStreak(int maxStreak): void
|
|
+getMaxStreak(): int
|
|
+increaseMaxStreak(): void
|
|
+setWonInTurn(int row, int value): void
|
|
+getWonInTurn(int row): int
|
|
+increaseWonInTurn(int row): void
|
|
+getWonInTurnFull(): int</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>96</x>
|
|
<y>136</y>
|
|
<w>112</w>
|
|
<h>24</h>
|
|
</coordinates>
|
|
<panel_attributes>DatabaseConnector</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>Relation</id>
|
|
<coordinates>
|
|
<x>432</x>
|
|
<y>168</y>
|
|
<w>96</w>
|
|
<h>80</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<.
|
|
-wordleServer</panel_attributes>
|
|
<additional_attributes>10.0;10.0;10.0;80.0</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>320</x>
|
|
<y>232</y>
|
|
<w>240</w>
|
|
<h>88</h>
|
|
</coordinates>
|
|
<panel_attributes>Game
|
|
--
|
|
-ip: String
|
|
-port: int
|
|
|
|
-wordle: String
|
|
-words: String[]
|
|
-wordCount: int
|
|
--
|
|
+processMessage(String msg): void
|
|
</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>48</x>
|
|
<y>56</y>
|
|
<w>80</w>
|
|
<h>24</h>
|
|
</coordinates>
|
|
<panel_attributes>QueryResult</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>Relation</id>
|
|
<coordinates>
|
|
<x>536</x>
|
|
<y>312</y>
|
|
<w>56</w>
|
|
<h>128</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<.
|
|
-guest</panel_attributes>
|
|
<additional_attributes>10.0;140.0;10.0;10.0</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<id>Relation</id>
|
|
<coordinates>
|
|
<x>200</x>
|
|
<y>136</y>
|
|
<w>176</w>
|
|
<h>112</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>136</x>
|
|
<y>424</y>
|
|
<w>240</w>
|
|
<h>392</h>
|
|
</coordinates>
|
|
<panel_attributes>User
|
|
--
|
|
-name: String
|
|
|
|
--
|
|
+setPassword(String password): void
|
|
+getPassword(): String
|
|
+setName(String name): void
|
|
+getName(): String
|
|
+setTimesPlayed(int timesPlayed): void
|
|
+getTimesPlayed(): int
|
|
+increaseTimesPlayed(): void
|
|
+setWinPercentage(float winPercentage): void
|
|
+getWinPercentage(): float
|
|
+setCurrentStreak(int currentStreak): void
|
|
+getCurrentStreak(): int
|
|
+increaseCurrentStreak(): void
|
|
+setMaxStreak(int maxStreak): void
|
|
+getMaxStreak(): int
|
|
+increaseMaxStreak(): void
|
|
+setWonInTurn(int row, int value): void
|
|
+getWonInTurn(int row): int
|
|
+getWonInTurnFull(): int</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>Relation</id>
|
|
<coordinates>
|
|
<x>128</x>
|
|
<y>152</y>
|
|
<w>144</w>
|
|
<h>288</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<.
|
|
-databaseConnector</panel_attributes>
|
|
<additional_attributes>30.0;10.0;30.0;340.0;10.0;340.0</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<id>Relation</id>
|
|
<coordinates>
|
|
<x>320</x>
|
|
<y>312</y>
|
|
<w>48</w>
|
|
<h>128</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<.
|
|
-user</panel_attributes>
|
|
<additional_attributes>10.0;140.0;10.0;10.0</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<id>Relation</id>
|
|
<coordinates>
|
|
<x>368</x>
|
|
<y>424</y>
|
|
<w>96</w>
|
|
<h>24</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<<-</panel_attributes>
|
|
<additional_attributes>100.0;10.0;10.0;10.0</additional_attributes>
|
|
</element>
|
|
</diagram>
|