Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Corentin GUILLEVIC
Not Alone
Commits
8ac7c22c
Commit
8ac7c22c
authored
Dec 28, 2020
by
Killian LUCAS
Browse files
update of conception.adoc
parent
b00a3322
Changes
1
Hide whitespace changes
Inline
Side-by-side
not-alone-doc/src/doc/asciidoc/_sections/conception.adoc
View file @
8ac7c22c
...
...
@@ -1521,4 +1521,55 @@ package Handler{
}
....
==
User
.
Package
User
[
plantuml
]
....
package
User
{
class
PlayerInterface
{
+
sendGameDescription
(
gameDescription
:
TDescription
)
:
TRoomId
+
sendGameStart
()
+
sendGameIsFinished
(
winner
:
TPlayerTeam
)
+
sendFirstRoundStart
()
+
sendStartPhase
(
phase
:
TPhase
,
gameDescription
:
TDescription
)
+
askAction
(
askedAction
:
TAskAction
)
:
TAction
+
sendAction
(
askedAction
:
TAskAction
)
+
sendResponse
(
response
:
Response
)
}
class
PlayerProxy
{
-
client
:
PlayerService
.
Client
+
ping
()
:
boolean
+
sendGameStart
()
+
sendGameDescription
(
gameDescription
:
TDescription
)
+
sendGameIsFinished
(
winner
:
TplayerTeam
)
+
sendFirstRoundStart
()
+
sendStartPhase
(
phase
:
TPhase
,
gameDescription
:
TDescription
)
+
askAction
(
askedAction
:
TAskAction
)
:
TAction
+
sendAction
(
askedAction
:
TAskAction
)
+
sendResponse
(
response
:
Response
)
}
class
User
{
-
id
:
String
-
name
:
String
-
service
:
PlayerProxy
+
getId
()
:
String
+
getName
()
:
String
+
getService
()
:
PlayerProxy
+
ping
()
:
boolean
+
sendGameStart
()
+
sendGameDescription
(
gameDescription
:
TDescription
)
+
sendGameIsFinished
(
winner
:
TplayerTeam
)
+
sendFirstRoundStart
()
+
sendStartPhase
(
phase
:
TPhase
,
gameDescription
:
TDescription
)
+
askAction
(
askedAction
:
TAskAction
)
:
TAction
+
sendAction
(
askedAction
:
TAskAction
)
+
sendResponse
(
response
:
Response
)
+
equals
(
obj
:
Object
)
:
boolean
+
hashCode
()
:
Integer
}
}
....
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment