2021-11-18 18:20:39 +00:00
|
|
|
@startuml jeu
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
abstract class Objet
|
2021-11-18 18:20:39 +00:00
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- taille : int
|
|
|
|
- consomable : Condition
|
|
|
|
- transmissible : Condition
|
2021-11-18 18:20:39 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Connaissance
|
2021-11-18 20:48:15 +00:00
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- transmissible : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Lieu
|
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- exploré : bool
|
|
|
|
- déposable : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Jeu{}
|
|
|
|
|
|
|
|
class Territoire{}
|
|
|
|
|
2021-11-18 20:48:15 +00:00
|
|
|
class Chemin
|
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- ouvert : Condition
|
|
|
|
- visible : Condition
|
|
|
|
- obligatoire : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Explorateur{}
|
2021-11-18 18:20:39 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Personne
|
2021-11-18 20:48:15 +00:00
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- obligatoire : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Depart{}
|
2021-11-18 20:48:15 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Fin{}
|
|
|
|
|
|
|
|
interface Cachable
|
2021-11-18 20:48:15 +00:00
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- caché : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Interraction
|
2021-11-18 20:48:15 +00:00
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- disponible : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Choix{}
|
2021-11-18 20:48:15 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Action
|
|
|
|
{
|
|
|
|
- proposable : Condition
|
|
|
|
- finInterraction : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Condition{}
|
2021-11-18 20:48:15 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class ConditionOU{}
|
2021-11-18 20:48:15 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class ConditionET{}
|
2021-11-19 07:51:28 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class Test{}
|
2021-11-19 07:51:28 +00:00
|
|
|
|
|
|
|
class TestObjet
|
|
|
|
{
|
2021-11-19 12:23:48 +00:00
|
|
|
- nombre : int
|
|
|
|
- supérieurEgale : bool
|
2021-11-19 07:51:28 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
class TestConnaissance{}
|
2021-11-19 07:51:28 +00:00
|
|
|
|
2021-11-19 08:02:23 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
' Links
|
|
|
|
Condition "1" -down- "0..*" ConditionOU
|
|
|
|
ConditionOU "1" -down- "1..*" ConditionET
|
|
|
|
ConditionET "1" -down- "1..*" Test
|
2021-11-19 08:02:23 +00:00
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
Test <|-down- TestConnaissance
|
|
|
|
Test <|-down- TestObjet
|
|
|
|
|
|
|
|
TestConnaissance "0..1" -up- "1" Connaissance
|
|
|
|
TestObjet "0..1" -up- "1" Objet
|
|
|
|
|
|
|
|
Cachable <|-down- Connaissance
|
|
|
|
Cachable <|-down- Objet
|
|
|
|
Cachable <|-down- Personne
|
|
|
|
|
|
|
|
Depart -up-|> Lieu
|
|
|
|
Fin -up-|> Lieu
|
2021-11-19 08:02:23 +00:00
|
|
|
|
2021-11-19 12:39:13 +00:00
|
|
|
Jeu "1" *-- "1" Explorateur
|
|
|
|
Jeu "1" *-- "1" Territoire
|
2021-11-19 07:51:28 +00:00
|
|
|
|
2021-11-19 12:39:13 +00:00
|
|
|
Territoire "1" *-- "1" Depart
|
|
|
|
Territoire "1" *-- "1" Fin
|
|
|
|
Territoire "1" *-- "1..*" Lieu
|
|
|
|
Territoire "1" *-- "0..*" Chemin
|
2021-11-19 12:23:48 +00:00
|
|
|
|
|
|
|
Lieu "1" -- "0..*" Chemin
|
|
|
|
Lieu "1" -- "0..*" Chemin
|
|
|
|
Lieu "1" -- "0..*" Connaissance
|
|
|
|
Lieu "0..1" -- "0..*" Objet
|
|
|
|
Lieu "1" -- "0..*" Personne
|
|
|
|
|
|
|
|
Chemin "0..1" -left- "0..*" Connaissance : transmettre
|
|
|
|
|
|
|
|
Chemin "0..1" -- "0..*" Objet : transmettre
|
|
|
|
Chemin "0..1" -- "0..*" Objet : consommer
|
|
|
|
|
|
|
|
Explorateur "0..1" -- "0..*" Connaissance
|
|
|
|
Explorateur "0..1" -- "0..*" Objet
|
|
|
|
Explorateur "0..1" -- "1" Lieu
|
|
|
|
|
|
|
|
Personne "1" -- "1.." Interraction
|
|
|
|
|
|
|
|
Interraction "0..1" -- "0..*" Objet
|
|
|
|
Interraction "0..1" -- "0..*" Connaissance
|
|
|
|
Interraction "1" -- "1" Choix
|
|
|
|
|
|
|
|
Choix "1" -- "1..*" Action
|
2021-11-19 07:51:28 +00:00
|
|
|
|
2021-11-18 18:20:39 +00:00
|
|
|
@enduml
|