Skip to content
Snippets Groups Projects
Commit 80b07b4a authored by @potel5u's avatar @potel5u
Browse files

first commit

parent 19ad29a6
No related branches found
No related tags found
No related merge requests found
diag.png

63.4 KiB

@startuml
class Pièce{
Int id
String nom
String photoNord, photoSud, photoEst, photoOuest
Pièce(String nom, String photoNord, String photoSud, String photoEst, String photoOuest)
String toJson()
}
class Accès{
Int id
Int xCoinHautGauche
Int yCoinHautGauche
Int xCoinBasDroit
Int yCoinBasDroit
Acces(Pièce destination)
}
Pièce -"*" Accès
Accès -"1" Pièce
class Modèle{
Boolean pieceAffichee
String fichierJson
String orientationCourante
Modèle()
Pièce getPieceCourante()
String getFichierJson()
void setPieceCourante(Pièce pieceCourante)
void setPieceAffichee(Boolean valeur)
void ajouterPiece(String nom, String photoNord, String photoSud, String photoEst, String photoOuest)
void supprimerPiece(Int idPiece)
void modifierPieceCourante(String nom, String photoNord, String photoSud, String photoEst, String photoOuest)
void tournerHoraire()
void tournerAntiHoraire()
void enregistrerModele()
void chargerModele(String fichierJson)
void ajouterAcces(Pièce destination, Int x1, Int y1, Int x2, Int y2)
void utiliserAcces(Int idAcces)
void supprimerAcces(Int idAcces)
}
Modèle -"*" Pièce
@enduml
\ No newline at end of file
maquette.png

28.1 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment