-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGame.ecore
129 lines (129 loc) · 8.87 KB
/
Game.ecore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="game" nsURI="http://www.Game.game" nsPrefix="game">
<eClassifiers xsi:type="ecore:EClass" name="Jeu">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="territoire" eType="#//Territoire"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="explorateur" eType="#//Explorateur"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="elementsjeu" upperBound="-1"
eType="#//ElementsJeu" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="Nature">
<eLiterals name="depart" literal="depart"/>
<eLiterals name="fin" value="1" literal="fin"/>
<eLiterals name="inter" value="2" literal="intermediaire"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ElementsJeu">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Place" eSuperTypes="#//ElementsJeu"/>
<eClassifiers xsi:type="ecore:EClass" name="Avantage" eSuperTypes="#//ElementsJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" upperBound="-1"
eType="#//ConditionAvantage" eOpposite="#//ConditionAvantage/visible"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="actif" upperBound="-1"
eType="#//ConditionAvantage" eOpposite="#//ConditionAvantage/actif"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="QteObjet" eSuperTypes="#//ElementsJeu">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="qte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objet" eType="#//Objet"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="choixCons" eType="#//Choix"
eOpposite="#//Choix/objetCons"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="choixDon" eType="#//Choix"
eOpposite="#//Choix/objetDon"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Territoire">
<eStructuralFeatures xsi:type="ecore:EReference" name="places" upperBound="-1"
eType="#//Place"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Lieu" eSuperTypes="#//Place">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nature" eType="#//Nature"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="personnes" upperBound="-1"
eType="#//Personne" eOpposite="#//Personne/place"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Chemin" eSuperTypes="#//Place">
<eStructuralFeatures xsi:type="ecore:EReference" name="pred" eType="#//Lieu"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="succ" eType="#//Lieu"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" upperBound="-1"
eType="#//ConditionChemin" eOpposite="#//ConditionChemin/visible"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="obligatoire" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ouvert" upperBound="-1"
eType="#//ConditionChemin" eOpposite="#//ConditionChemin/ouvert"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Personne" eSuperTypes="#//ElementsJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="place" lowerBound="1" eType="#//Lieu"
eOpposite="#//Lieu/personnes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" upperBound="-1"
eType="#//ConditionPersonne" eOpposite="#//ConditionPersonne/visible"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="active" upperBound="-1"
eType="#//ConditionPersonne" eOpposite="#//ConditionPersonne/active"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="obligatoire" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="interactions" lowerBound="1"
upperBound="-1" eType="#//Interaction" eOpposite="#//Interaction/personne"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Explorateur">
<eStructuralFeatures xsi:type="ecore:EReference" name="place" eType="#//Place"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="tailleDispo" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1"
eType="#//Objet"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
eType="#//Connaissance"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Connaissance" eSuperTypes="#//Avantage">
<eStructuralFeatures xsi:type="ecore:EReference" name="choix" eType="#//Choix"
eOpposite="#//Choix/connaisDon"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Objet" eSuperTypes="#//Avantage">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="qte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="taille" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="transformable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Interaction" eSuperTypes="#//ElementsJeu">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="question" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="personne" lowerBound="1"
eType="#//Personne" eOpposite="#//Personne/interactions"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="choix" upperBound="-1"
eType="#//Choix" eOpposite="#//Choix/interaction"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Choix" eSuperTypes="#//ElementsJeu">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="reponse" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="bonne" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetCons" upperBound="-1"
eType="#//QteObjet" eOpposite="#//QteObjet/choixCons"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetDon" upperBound="-1"
eType="#//QteObjet" eOpposite="#//QteObjet/choixDon"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaisDon" upperBound="-1"
eType="#//Connaissance" eOpposite="#//Connaissance/choix"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="interaction" lowerBound="1"
eType="#//Interaction" eOpposite="#//Interaction/choix"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Condition" eSuperTypes="#//ElementsJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissanceRequise" unique="false"
eType="#//Connaissance"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissanceInterdite"
unique="false" eType="#//Connaissance"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetRequis" unique="false"
eType="#//QteObjet"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetInterdit" unique="false"
eType="#//QteObjet"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionPersonne" eSuperTypes="#//Condition">
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Personne"
eOpposite="#//Personne/visible"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="active" eType="#//Personne"
eOpposite="#//Personne/active"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionAvantage" eSuperTypes="#//Condition">
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Avantage"
eOpposite="#//Avantage/visible"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="actif" eType="#//Avantage"
eOpposite="#//Avantage/actif"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionChemin" eSuperTypes="#//Condition">
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Chemin"
eOpposite="#//Chemin/visible"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ouvert" eType="#//Chemin"
eOpposite="#//Chemin/ouvert"/>
</eClassifiers>
</ecore:EPackage>