diff --git a/TP3/TP3-1.png b/TP3/TP3-1.png new file mode 100644 index 0000000..cfdc902 Binary files /dev/null and b/TP3/TP3-1.png differ diff --git a/TP3/TP3-1.txt b/TP3/TP3-1.txt new file mode 100644 index 0000000..fb8f86f --- /dev/null +++ b/TP3/TP3-1.txt @@ -0,0 +1,28 @@ +@startuml +abstract class Etre-vivants +abstract class Stuff +abstract class Personnage +class Animaux +class Capacite +class PNJ +class PJ +class Tresor +class Artefacts +class Vehicule +interface Deplacable +interface Transportable +interface Transporter + +Stuff <|-- Artefacts +Stuff <|-- Vehicule +Stuff <|-- Tresor +Personnage o-- Capacite +Personnage <|-- PNJ +Personnage <|-- PJ +Transportable <|.. Stuff +Transportable <|.. Animaux +Transporter <|.. Animaux +Transporter <|.. Personnage +Deplacable <|.. Animaux +Deplacable <|.. Personnage +@enduml \ No newline at end of file diff --git a/TP3/TP3-2.png b/TP3/TP3-2.png new file mode 100644 index 0000000..5820d26 Binary files /dev/null and b/TP3/TP3-2.png differ diff --git a/TP3/TP3-2.txt b/TP3/TP3-2.txt new file mode 100644 index 0000000..df1a041 --- /dev/null +++ b/TP3/TP3-2.txt @@ -0,0 +1,34 @@ +@startuml +abstract class Figure{ + int perimetre +} +class Surface{ + int aire +} +abstract class Dessin +class Dessin_exact +class Dessin_approche +class Fractale +class Triangle{ + int hauteur +} +class Rectangle +class Cercle{ + int Diametre +} +class Point2D +class Coordonnees{ + int x + int y +} + +Dessin_exact <|-- Rectangle +Dessin_exact <|-- Triangle +Dessin_approche <|-- Cercle +Dessin_approche <|-- Fractale +Dessin <|-- Dessin_exact +Dessin <|-- Dessin_approche +Figure o-- Surface +Rectangle "-CDG"--> "1" Point2D +Point2D "I"--> "2" Coordonnees +@enduml \ No newline at end of file