Commit 3bd073b1 authored by Joseph NISON--GUYON's avatar Joseph NISON--GUYON
Browse files

Ajout de flots de controles

Correction d'une faute d'orthographe
parent 9746ad43
......@@ -70,7 +70,7 @@ Client *-- "[0-3] main" CarteTraque
....
== Game Server
.GameSever
.GameServer
[plantuml]
....
interface GameServer {
......@@ -146,3 +146,49 @@ partition Game::run() {
stop
}
----
== Flots de controle
.setCard
[plantuml]
----
partition Creature::setCard(String) {
start
if (String in Hand?)
:true;
stop
else
:false;
:Exception;
stop
endif
}
----
.resister
[plantuml]
----
partition resister() {
start
:loseWillPoint();
if (WillPoint <= 0 ?)
:true;
:lacherPrise();
else
:false;
endif
stop
}
----
.lacherPrise
[plantuml]
----
partition lacherPrise() {
start
:initializeWillPoint();
:Serveur::lacherPrise();
:getLieuxDefausse();
stop
}
----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment