2021-11-18 18:20:39 +00:00
|
|
|
@startuml jeu
|
|
|
|
|
2021-11-18 20:48:15 +00:00
|
|
|
Jeu "1" -- "1" Explorateur
|
|
|
|
Jeu "1" -- "1" Territoire
|
|
|
|
class Jeu
|
2021-11-18 18:20:39 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-11-18 20:48:15 +00:00
|
|
|
Territoire "1" -- "1..*" Lieu
|
|
|
|
Territoire "1" -- "0..*" Chemin
|
|
|
|
Territoire "1" -- "1" Depart
|
|
|
|
Territoire "1" -- "1" Fin
|
|
|
|
class Territoire
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Lieu "1" -- "0..*" Chemin
|
|
|
|
Lieu "1" -- "0..*" Chemin
|
|
|
|
Lieu "1" -- "0..*" Connaissance
|
|
|
|
Lieu "0..1" -- "0..*" Objet
|
|
|
|
Lieu "1" -- "0..*" Personne
|
|
|
|
Lieu <|-- Depart
|
|
|
|
Lieu <|-- Fin
|
|
|
|
class Lieu
|
|
|
|
{
|
|
|
|
- exploré : bool
|
|
|
|
- déposable : bool
|
|
|
|
}
|
|
|
|
|
|
|
|
class Chemin
|
|
|
|
{
|
|
|
|
- ouvert : bool
|
|
|
|
- visible : bool
|
|
|
|
}
|
|
|
|
|
|
|
|
Explorateur "0..1" -- "0..*" Connaissance
|
|
|
|
Explorateur "0..1" -- "0..*" Objet
|
2021-11-18 18:20:39 +00:00
|
|
|
class Explorateur
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2021-11-18 20:48:15 +00:00
|
|
|
Cachable <|-- Connaissance
|
|
|
|
Cachable <|-- Objet
|
|
|
|
Cachable <|-- Personne
|
|
|
|
class Cachable
|
|
|
|
{
|
|
|
|
- caché : bool
|
|
|
|
}
|
|
|
|
|
|
|
|
class Connaissance
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class Objet
|
|
|
|
{
|
|
|
|
- taille : int
|
|
|
|
}
|
|
|
|
|
|
|
|
class Personne
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class Depart
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fin
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-11-18 18:20:39 +00:00
|
|
|
@enduml
|