2021-12-01 20:43:02 +00:00
|
|
|
@startuml game
|
2021-11-18 18:20:39 +00:00
|
|
|
|
2021-12-01 20:43:02 +00:00
|
|
|
' Classes
|
|
|
|
class Jeu {
|
2021-12-01 21:17:17 +00:00
|
|
|
- objets : List<Objet>
|
2021-12-01 20:43:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Explorateur {
|
2021-11-19 12:23:48 +00:00
|
|
|
- taille : int
|
2021-12-01 21:17:17 +00:00
|
|
|
- inventaire : List<Objet>
|
2021-11-18 18:20:39 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 21:17:17 +00:00
|
|
|
class Territoire
|
2021-11-18 20:48:15 +00:00
|
|
|
|
2021-12-01 21:17:17 +00:00
|
|
|
class Lieu {
|
2021-12-01 20:43:02 +00:00
|
|
|
- nom : String
|
2021-11-19 12:23:48 +00:00
|
|
|
- déposable : Condition
|
2021-12-01 20:43:02 +00:00
|
|
|
- départ : Condition
|
|
|
|
- fin : Condition
|
2021-12-01 21:17:17 +00:00
|
|
|
- objets : List<Objet>
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 20:43:02 +00:00
|
|
|
class Chemin {
|
2021-11-19 12:23:48 +00:00
|
|
|
- ouvert : Condition
|
|
|
|
- visible : Condition
|
|
|
|
- obligatoire : Condition
|
2021-12-01 21:17:17 +00:00
|
|
|
- objetsRecus : List<Objet>
|
|
|
|
- objetsConso : List<Objet>
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 20:43:02 +00:00
|
|
|
class Objet {
|
|
|
|
- nom : String
|
|
|
|
- taille : int
|
|
|
|
- visible : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 20:43:02 +00:00
|
|
|
class Transformation {
|
|
|
|
- condition : Condition
|
2021-12-01 21:17:17 +00:00
|
|
|
- objetsIn : List<Objet>
|
|
|
|
- objetsOut : List<Objet>
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 20:43:02 +00:00
|
|
|
class Connaissance {
|
|
|
|
- nom : String
|
|
|
|
- visible : Condition
|
2021-11-18 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 20:43:02 +00:00
|
|
|
class Personne {
|
|
|
|
- nom : String
|
|
|
|
- visible : Condition
|
|
|
|
- obligatoire : Condition
|
2021-11-20 11:42:20 +00:00
|
|
|
}
|
|
|
|
|
2021-12-01 20:43:02 +00:00
|
|
|
class Interaction {
|
|
|
|
- visible : Condition
|
2021-12-01 21:17:17 +00:00
|
|
|
- objetsRecus : List<Objet>
|
|
|
|
- objetsConso : List<Objet>
|
|
|
|
}
|
|
|
|
|
|
|
|
class Action {
|
|
|
|
- visible : Condition
|
|
|
|
- fin_interaction : Condition
|
|
|
|
- objetsRecus : List<Objet>
|
|
|
|
- objetsConso : List<Objet>
|
|
|
|
}
|
|
|
|
|
|
|
|
class Description {
|
|
|
|
- text : String
|
|
|
|
- condition : Condition
|
2021-11-19 07:51:28 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 12:23:48 +00:00
|
|
|
' Links
|
2021-12-01 21:17:17 +00:00
|
|
|
Jeu -- "1" Explorateur
|
|
|
|
Jeu -- "1" Territoire
|
|
|
|
Jeu -- "0..*" Conaissance
|
|
|
|
Jeu -- "0..*" Personne
|
|
|
|
Jeu -- "0..*" Transformation
|
|
|
|
|
|
|
|
Explorateur -- "0..*" Connaissance
|
|
|
|
|
|
|
|
Territoire -- "0..*" Lieu
|
|
|
|
Territoire -- "0..*" Chemin
|
|
|
|
|
|
|
|
Lieu -- "0..*" Personne
|
|
|
|
Lieu -- "1..*" Description
|
|
|
|
Lieu -- "0..*" Connaissance
|
|
|
|
|
|
|
|
Chemin -- "0..*" Connaissance
|
|
|
|
Chemin -- "1..*" Description
|
|
|
|
|
|
|
|
Objet -- "1..*" Description
|
|
|
|
|
|
|
|
Connaissance -- "1..*" Description
|
|
|
|
|
|
|
|
Personne -- "0..*" Interaction
|
|
|
|
|
|
|
|
Interaction -- "0..*" Connaissance
|
|
|
|
Interaction -- "1..*" Action
|
|
|
|
|
|
|
|
Action -- "1..*" Description
|
|
|
|
Action -- "0..*" Connaissance
|
|
|
|
|
|
|
|
@enduml
|
|
|
|
|
|
|
|
@startuml Condition
|
|
|
|
|
|
|
|
'Classes
|
|
|
|
class Condition
|
|
|
|
class ConditionEt
|
|
|
|
interface ConditionTest
|
|
|
|
class ConditionConnaissance
|
|
|
|
class ConditionBool
|
|
|
|
class ConditionObjet {
|
|
|
|
- operateur : String
|
|
|
|
- nombre : int
|
|
|
|
}
|
|
|
|
|
|
|
|
'Links
|
|
|
|
|
|
|
|
Condition -- "1..*" ConditionEt
|
|
|
|
ConditionEt -- "1..*" ConditionTest
|
|
|
|
ConditionConnaissance -.-|> ConditionTest
|
|
|
|
ConditionObjet -.-|> ConditionTest
|
|
|
|
ConditionBool -.-|> ConditionTest
|
2021-11-19 07:51:28 +00:00
|
|
|
|
2021-12-01 21:17:17 +00:00
|
|
|
@enduml
|