159 lines
10 KiB
XML
159 lines
10 KiB
XML
<?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.n7.fr/game/xtext/Game" nsPrefix="game">
|
|
<eClassifiers xsi:type="ecore:EClass" name="Jeu">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="explorateur" eType="#//Explorateur"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="territoire" eType="#//Territoire"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1"
|
|
eType="#//Objet" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
|
|
eType="#//Connaissance" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="personnes" upperBound="-1"
|
|
eType="#//Personne" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="transformations" upperBound="-1"
|
|
eType="#//Transformation" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Explorateur">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="tailleInventaire" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Territoire">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="lieux" upperBound="-1"
|
|
eType="#//Lieu" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="chemins" upperBound="-1"
|
|
eType="#//Chemin" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Lieu">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="nom" eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="deposable" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="depart" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="fin" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="personnes" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="descriptions" upperBound="-1"
|
|
eType="#//Description" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Chemin">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="nom" eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="lieuIn" eType="#//Nom"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="lieuOut" eType="#//Nom"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="ouvert" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="obligatoire" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsRecus" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsConso" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="descriptions" upperBound="-1"
|
|
eType="#//Description" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Objet">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="nom" eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="taille" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="descriptions" upperBound="-1"
|
|
eType="#//Description" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Transformation">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsIn" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsOut" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Connaissance">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="nom" eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="descriptions" upperBound="-1"
|
|
eType="#//Description" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Personne">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="nom" eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="obligatoire" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="interactions" upperBound="-1"
|
|
eType="#//Interaction" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Interaction">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="nom" eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsRecus" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsConso" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="actions" upperBound="-1"
|
|
eType="#//Action" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Action">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="nom" eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="finInteraction" eType="#//Condition"
|
|
containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsRecus" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsConso" upperBound="-1"
|
|
eType="#//Nom" containment="true"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="descriptions" upperBound="-1"
|
|
eType="#//Description" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Description">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="texte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Condition"
|
|
containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Condition">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="condition" upperBound="-1"
|
|
eType="#//ConditionEt" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="ConditionEt">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionTest" upperBound="-1"
|
|
eType="#//ConditionTest" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="ConditionTest"/>
|
|
<eClassifiers xsi:type="ecore:EClass" name="ConditionBoolean" eSuperTypes="#//ConditionTest">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="valeur" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="ConditionConnaissance" eSuperTypes="#//ConditionTest">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="negation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="connaissance" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="ConditionObjet" eSuperTypes="#//ConditionTest">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="objet" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="comparateur" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nombre" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Nom">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nom" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
</eClassifiers>
|
|
</ecore:EPackage>
|