Commit 53a2339c authored by Gries Robin's avatar Gries Robin
Browse files

merge master+alex+Joseph

parents c8f85c89 3bd073b1
......@@ -83,7 +83,7 @@ Serveur *-- "[2-7] joueurs" Client
....
== Game Server
.GameSever
.GameServer
[plantuml]
....
interface GameServer {
......@@ -238,4 +238,50 @@ inv: self.carteLieu->isUnique(each : Lieu | each.name)
----
Context Traque
inv: self.volonté >= 0 and self.volonté <= 3
== 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