This commit is contained in:
2025-11-28 11:15:08 +01:00
parent baf2c5ae7c
commit 8d7b6fa9bd
4 changed files with 62 additions and 0 deletions

BIN
TP3/TP3-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

28
TP3/TP3-1.txt Normal file
View File

@@ -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

BIN
TP3/TP3-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

34
TP3/TP3-2.txt Normal file
View File

@@ -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