initialisation
This commit is contained in:
BIN
documents/CouleurWagon.png
Normal file
BIN
documents/CouleurWagon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
BIN
documents/Les Aventuriers du Rail - Règles.pdf
Normal file
BIN
documents/Les Aventuriers du Rail - Règles.pdf
Normal file
Binary file not shown.
BIN
documents/Ticket to Ride Europe - Rules.pdf
Normal file
BIN
documents/Ticket to Ride Europe - Rules.pdf
Normal file
Binary file not shown.
70
documents/diagramme-classes-plantuml.txt
Normal file
70
documents/diagramme-classes-plantuml.txt
Normal file
@@ -0,0 +1,70 @@
|
||||
@startuml
|
||||
skinparam nodesep 220
|
||||
skinparam ranksep 120
|
||||
|
||||
class Jeu {
|
||||
- joueurCourant: Joueur
|
||||
|
||||
+ defausserCarteWagon(CouleurWagon): void
|
||||
+ piocherCarteWagon(): CouleurWagon
|
||||
+ retirerCarteWagonVisible(CouleurWagon): void
|
||||
+ piocherDestination(): Destination
|
||||
+ remplirCartesWagonVisibles() : void
|
||||
|
||||
}
|
||||
|
||||
class Joueur {
|
||||
- couleur : Couleur
|
||||
- nom : String
|
||||
- nbWagons : int
|
||||
- nbGares : int
|
||||
- score : int
|
||||
|
||||
+ joueurTour()
|
||||
+ choisirDestinations(List<Destination>, int)
|
||||
}
|
||||
|
||||
enum CouleurWagon{
|
||||
}
|
||||
|
||||
|
||||
class Route {
|
||||
- nom : String
|
||||
- longueur : int
|
||||
- couleur : CouleurWagon
|
||||
}
|
||||
|
||||
class Tunnel {
|
||||
}
|
||||
|
||||
class Ferry {
|
||||
}
|
||||
|
||||
class Destination {
|
||||
- ville1 : String
|
||||
- ville2 : String
|
||||
- valeur: int
|
||||
|
||||
}
|
||||
|
||||
class Ville {
|
||||
- nom : String
|
||||
}
|
||||
|
||||
|
||||
|
||||
Route <|-- Tunnel
|
||||
Route <|-- Ferry
|
||||
|
||||
Joueur "joueurs 2..5 "--* Jeu
|
||||
Joueur -left->"*" CouleurWagon
|
||||
Joueur "0..1 propriétaire"--"* destinations" Destination
|
||||
Joueur "0..1 proprietaire"<- Route
|
||||
Ville "0..3"-right->"0..1 prorpietaire" Joueur
|
||||
|
||||
Jeu -->"*" Destination
|
||||
Jeu -right->"*" Route
|
||||
|
||||
Route -right->"ville1" Ville
|
||||
Route -right->"ville2" Ville
|
||||
@enduml
|
BIN
documents/reseau_Europe.png
Normal file
BIN
documents/reseau_Europe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 345 KiB |
Reference in New Issue
Block a user