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
|
2021-11-19 07:51:28 +00:00
|
|
|
- déposable : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 07:51:28 +00:00
|
|
|
Chemin "0..1" -- "0..*" Connaissance : transmettre
|
|
|
|
Chemin "0..1" -- "0..*" Objet : transmettre
|
|
|
|
Chemin "0..1" -- "0..*" Objet : consommer
|
2021-11-18 20:48:15 +00:00
|
|
|
class Chemin
|
|
|
|
{
|
2021-11-19 07:51:28 +00:00
|
|
|
- ouvert : Condition
|
|
|
|
- visible : Condition
|
|
|
|
- obligatoire : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Explorateur "0..1" -- "0..*" Connaissance
|
|
|
|
Explorateur "0..1" -- "0..*" Objet
|
2021-11-19 07:51:28 +00:00
|
|
|
Explorateur "0..1" -- "1" Lieu
|
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
|
|
|
|
{
|
2021-11-19 07:51:28 +00:00
|
|
|
- caché : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Connaissance
|
|
|
|
{
|
2021-11-19 07:51:28 +00:00
|
|
|
- transmissible : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
abstract class Objet
|
|
|
|
{
|
|
|
|
- taille : int
|
2021-11-19 07:51:28 +00:00
|
|
|
- consomable : Condition
|
|
|
|
- transmissible : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 07:51:28 +00:00
|
|
|
Personne "1" -- "0..*" Interraction
|
2021-11-18 20:48:15 +00:00
|
|
|
class Personne
|
|
|
|
{
|
2021-11-19 07:51:28 +00:00
|
|
|
- obligatoire : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Depart
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class Fin
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2021-11-19 07:51:28 +00:00
|
|
|
Condition "1" -- "0..*" ConditionOU
|
|
|
|
class Condition
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ConditionOU "1" -- "1..*" ConditionET
|
|
|
|
ConditionET "1" -- "1..*" Test
|
|
|
|
Test <|-- TestConnaissance
|
|
|
|
Test <|-- TestObjet
|
|
|
|
TestConnaissance "0..1" -- "1" Connaissance
|
|
|
|
TestObjet "0..1" -- "1" Objet
|
|
|
|
class TestObjet
|
|
|
|
{
|
|
|
|
- nombre : int
|
|
|
|
- supérieurEgale : bool
|
|
|
|
}
|
|
|
|
|
|
|
|
Interraction "0..1" -- "0..*" Objet
|
|
|
|
Interraction "0..1" -- "0..*" Connaissance
|
|
|
|
class Interraction
|
|
|
|
{
|
|
|
|
- disponible : Condition
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-18 18:20:39 +00:00
|
|
|
@enduml
|