tp3
This commit is contained in:
BIN
TP3/TP3-1.png
Normal file
BIN
TP3/TP3-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
28
TP3/TP3-1.txt
Normal file
28
TP3/TP3-1.txt
Normal 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
BIN
TP3/TP3-2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
34
TP3/TP3-2.txt
Normal file
34
TP3/TP3-2.txt
Normal 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
|
||||||
Reference in New Issue
Block a user