Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joseph NISON--GUYON
Not Alone
Commits
2d6be1e6
Commit
2d6be1e6
authored
Dec 04, 2020
by
Gries Robin
Browse files
Merge branch 'master' of
https://gitlab.univ-nantes.fr/E175106H/projet-2020
parents
37cc8152
9746ad43
Changes
1
Hide whitespace changes
Inline
Side-by-side
not-alone-doc/src/doc/asciidoc/_sections/conception.adoc
View file @
2d6be1e6
=
Conception
d
é
taill
é
e
==
diagramme
de
classe
[
plantuml
]
....
interface
Joueur
{
askRole
()
yourRole
(
role
:
String
)
}
interface
Creature
{
placerArtemia
()
placerCreature
()
placerCible
()
askCarteTraque
()
}
interface
Traque
{
recupLieuxFromDefausse
()
askCarteSurvie
()
askCarteLieux
()
getLieuxDefausse
()
perdrePionsVolont
(
pv
:
integer
)
}
interface
InterfaceServeur
{
lacherPrise
()
placerCreature
(
lieux
:
Lieu
[
2
])
placerCible
(
lieux
:
Lieu
[
2
])
placerArtemia
(
lieux
:
Lieu
[
2
])
setLieu
(
id
:
integer
,
lieu
:
Lieu
)
setCarteSurvie
(
id
:
integer
,
carte
:
CarteSurvie
)
setCarteTraque
(
carte
:
CarteTraque
)
wantRole
()
rendDefausse
(
id
:
integer
,
defausse
:
Lieux
[
10
])
}
Joueur
<|--
Traque
Joueur
<|--
Creature
interface
CarteLieu
{
getId
()
:
Integer
power
()
}
interface
CarteSurvie
{
getNom
()
:
String
}
interface
CarteTraque
{
getNom
()
:
String
}
class
Serveur
{
}
class
Client
{
}
InterfaceServeur
<|--
Serveur
Traque
<|--
Client
Creature
<|--
Client
Client
*--
"[0-10] main"
CarteLieu
Client
*--
"[0-10] defausse"
CarteLieu
Client
*--
"[0-*] main"
CarteSurvie
Client
*--
"[0-3] main"
CarteTraque
....
==
Game
Server
.
GameSever
...
...
Write
Preview
Supports
Markdown
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