|
|
|
@ -0,0 +1,496 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<xmi:XMI 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" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore">
|
|
|
|
|
<mtl:Module name="toPrototype" nsURI="fr::n7::game::toPrototype::main::toPrototype" startHeaderPosition="29" endHeaderPosition="146">
|
|
|
|
|
<input>
|
|
|
|
|
<takesTypesFrom href="http://www.n7.fr/game/xtext/Game#/"/>
|
|
|
|
|
</input>
|
|
|
|
|
<ownedModuleElement xsi:type="mtl:Template" name="jeuToPrototype" visibility="Public" main="true">
|
|
|
|
|
<body xsi:type="mtl:FileBlock" openMode="OverWrite">
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="public static void main(String"/>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="[">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="]">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" args) {

Condition vraie = new Condition(new ConditionEt(new ConditionBoolean(true)));


List<Objet> jeu_objets = new ArrayList<>();
"/>
|
|
|
|
|
<body xsi:type="mtl:ForBlock">
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="	List<Description> objet_"/>
|
|
|
|
|
<body xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Nom"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="o" referredVariable="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EReference" href="http://www.n7.fr/game/xtext/Game#//Objet/nom"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EAttribute" href="http://www.n7.fr/game/xtext/Game#//Nom/nom"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_descriptions = new new ArrayList<>();
"/>
|
|
|
|
|
<body xsi:type="mtl:ForBlock">
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="		objet_"/>
|
|
|
|
|
<body xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Nom"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="o" referredVariable="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EReference" href="http://www.n7.fr/game/xtext/Game#//Objet/nom"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EAttribute" href="http://www.n7.fr/game/xtext/Game#//Nom/nom"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_descriptions.add(
			new Description(
				"/>
|
|
|
|
|
<body xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="d" referredVariable="/0/jeuToPrototype/%/%.4/%.3/d">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Description"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EAttribute" href="http://www.n7.fr/game/xtext/Game#//Description/texte"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=",
				vraie));
"/>
|
|
|
|
|
<loopVariable name="d">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Description"/>
|
|
|
|
|
</loopVariable>
|
|
|
|
|
<iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/10/OrderedSet(Description)">
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="o" referredVariable="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EReference" href="http://www.n7.fr/game/xtext/Game#//Objet/descriptions"/>
|
|
|
|
|
</iterSet>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="	
	Objet objet_"/>
|
|
|
|
|
<body xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Nom"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="o" referredVariable="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EReference" href="http://www.n7.fr/game/xtext/Game#//Objet/nom"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EAttribute" href="http://www.n7.fr/game/xtext/Game#//Nom/nom"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" = new Objet(
	 "/>
|
|
|
|
|
<body xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Nom"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="o" referredVariable="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EReference" href="http://www.n7.fr/game/xtext/Game#//Objet/nom"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EAttribute" href="http://www.n7.fr/game/xtext/Game#//Nom/nom"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=",
	 "/>
|
|
|
|
|
<body xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="o" referredVariable="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EAttribute" href="http://www.n7.fr/game/xtext/Game#//Objet/taille"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=",
	 vraie,
	 objet_"/>
|
|
|
|
|
<body xsi:type="ocl.ecore:PropertyCallExp">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Nom"/>
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="o" referredVariable="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EReference" href="http://www.n7.fr/game/xtext/Game#//Objet/nom"/>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_descriptions);
	jeu_objets.add(tentative_objet);
"/>
|
|
|
|
|
<loopVariable name="o">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</loopVariable>
|
|
|
|
|
<iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/10/OrderedSet(Objet)">
|
|
|
|
|
<source xsi:type="ocl.ecore:VariableExp" name="jeu" referredVariable="/0/jeuToPrototype/jeu">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</source>
|
|
|
|
|
<referredProperty xsi:type="ecore:EReference" href="http://www.n7.fr/game/xtext/Game#//Jeu/objets"/>
|
|
|
|
|
</iterSet>
|
|
|
|
|
</body>
|
|
|
|
|
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
}
"/>
|
|
|
|
|
<fileUrl xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="Prototype.java">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
</fileUrl>
|
|
|
|
|
<charset xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="UTF-8">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
</charset>
|
|
|
|
|
</body>
|
|
|
|
|
<parameter name="jeu">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</parameter>
|
|
|
|
|
</ownedModuleElement>
|
|
|
|
|
</mtl:Module>
|
|
|
|
|
<ecore:EPackage name="additions">
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_String_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Integer_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Real_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="ecore_EObject_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eOperations name="jeuToPrototype">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<contents xsi:type="ocl.ecore:Constraint"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="MTL" references="/0/jeuToPrototype"/>
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
<eParameters name="jeu">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</eParameters>
|
|
|
|
|
</eOperations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_OclAny_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Collection(T)_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_Sequence(T)_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="oclstdlib_OrderedSet(T)_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ecore:EClass" name="game_Jeu_Class">
|
|
|
|
|
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL">
|
|
|
|
|
<references href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
</ecore:EPackage>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ecore:EPackage name="collections">
|
|
|
|
|
<eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(Objet)" instanceClassName="java.util.LinkedHashSet">
|
|
|
|
|
<elementType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
<eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(Description)" instanceClassName="java.util.LinkedHashSet">
|
|
|
|
|
<elementType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Description"/>
|
|
|
|
|
</eClassifiers>
|
|
|
|
|
</ecore:EPackage>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Description"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Description"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Description"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="i">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Objet"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.n7.fr/game/xtext/Game#//Jeu"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="i">
|
|
|
|
|
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ocl.ecore:Variable name="self">
|
|
|
|
|
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
|
|
|
|
|
</ocl.ecore:Variable>
|
|
|
|
|
<ecore:EAnnotation source="positions">
|
|
|
|
|
<eAnnotations source="positions.0" references="/0/jeuToPrototype">
|
|
|
|
|
<details key="start" value="88"/>
|
|
|
|
|
<details key="end" value="800"/>
|
|
|
|
|
<details key="line" value="5"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.1" references="/0/jeuToPrototype/%">
|
|
|
|
|
<details key="start" value="149"/>
|
|
|
|
|
<details key="end" value="788"/>
|
|
|
|
|
<details key="line" value="7"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.2" references="/0/jeuToPrototype/%/%">
|
|
|
|
|
<details key="start" value="191"/>
|
|
|
|
|
<details key="end" value="221"/>
|
|
|
|
|
<details key="line" value="8"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.3" references="/0/jeuToPrototype/%/%.1">
|
|
|
|
|
<details key="start" value="222"/>
|
|
|
|
|
<details key="end" value="225"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.4" references="/0/jeuToPrototype/%/%.2">
|
|
|
|
|
<details key="start" value="228"/>
|
|
|
|
|
<details key="end" value="231"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.5" references="/0/jeuToPrototype/%/%.3">
|
|
|
|
|
<details key="start" value="233"/>
|
|
|
|
|
<details key="end" value="367"/>
|
|
|
|
|
<details key="line" value="8"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.6" references="/0/jeuToPrototype/%/%.4">
|
|
|
|
|
<details key="start" value="367"/>
|
|
|
|
|
<details key="end" value="777"/>
|
|
|
|
|
<details key="line" value="14"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.7" references="/0/jeuToPrototype/%/%.4/%">
|
|
|
|
|
<details key="start" value="398"/>
|
|
|
|
|
<details key="end" value="423"/>
|
|
|
|
|
<details key="line" value="15"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.8" references="/0/jeuToPrototype/%/%.4/%.1">
|
|
|
|
|
<details key="start" value="424"/>
|
|
|
|
|
<details key="end" value="433"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.9" references="/0/jeuToPrototype/%/%.4/%.1/%">
|
|
|
|
|
<details key="start" value="424"/>
|
|
|
|
|
<details key="end" value="429"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.10" references="/0/jeuToPrototype/%/%.4/%.1/%/o">
|
|
|
|
|
<details key="start" value="424"/>
|
|
|
|
|
<details key="end" value="425"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.11" references="/0/jeuToPrototype/%/%.4/%.2">
|
|
|
|
|
<details key="start" value="435"/>
|
|
|
|
|
<details key="end" value="474"/>
|
|
|
|
|
<details key="line" value="15"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.12" references="/0/jeuToPrototype/%/%.4/%.3">
|
|
|
|
|
<details key="start" value="475"/>
|
|
|
|
|
<details key="end" value="611"/>
|
|
|
|
|
<details key="line" value="16"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.13" references="/0/jeuToPrototype/%/%.4/%.3/%">
|
|
|
|
|
<details key="start" value="516"/>
|
|
|
|
|
<details key="end" value="524"/>
|
|
|
|
|
<details key="line" value="17"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.14" references="/0/jeuToPrototype/%/%.4/%.3/%.1">
|
|
|
|
|
<details key="start" value="525"/>
|
|
|
|
|
<details key="end" value="534"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.15" references="/0/jeuToPrototype/%/%.4/%.3/%.1/%">
|
|
|
|
|
<details key="start" value="525"/>
|
|
|
|
|
<details key="end" value="530"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.16" references="/0/jeuToPrototype/%/%.4/%.3/%.1/%/o">
|
|
|
|
|
<details key="start" value="525"/>
|
|
|
|
|
<details key="end" value="526"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.17" references="/0/jeuToPrototype/%/%.4/%.3/%.2">
|
|
|
|
|
<details key="start" value="536"/>
|
|
|
|
|
<details key="end" value="579"/>
|
|
|
|
|
<details key="line" value="17"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.18" references="/0/jeuToPrototype/%/%.4/%.3/%.3">
|
|
|
|
|
<details key="start" value="580"/>
|
|
|
|
|
<details key="end" value="587"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.19" references="/0/jeuToPrototype/%/%.4/%.3/%.3/d">
|
|
|
|
|
<details key="start" value="580"/>
|
|
|
|
|
<details key="end" value="581"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.20" references="/0/jeuToPrototype/%/%.4/%.3/%.4">
|
|
|
|
|
<details key="start" value="589"/>
|
|
|
|
|
<details key="end" value="604"/>
|
|
|
|
|
<details key="line" value="19"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.21" references="/0/jeuToPrototype/%/%.4/%.3/d">
|
|
|
|
|
<details key="start" value="481"/>
|
|
|
|
|
<details key="end" value="496"/>
|
|
|
|
|
<details key="line" value="16"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.22" references="/0/jeuToPrototype/%/%.4/%.3/%.5">
|
|
|
|
|
<details key="start" value="499"/>
|
|
|
|
|
<details key="end" value="513"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.23" references="/0/jeuToPrototype/%/%.4/%.3/%.5/o">
|
|
|
|
|
<details key="start" value="499"/>
|
|
|
|
|
<details key="end" value="500"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.24" references="/0/jeuToPrototype/%/%.4/%.4">
|
|
|
|
|
<details key="start" value="612"/>
|
|
|
|
|
<details key="end" value="627"/>
|
|
|
|
|
<details key="line" value="22"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.25" references="/0/jeuToPrototype/%/%.4/%.5">
|
|
|
|
|
<details key="start" value="628"/>
|
|
|
|
|
<details key="end" value="637"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.26" references="/0/jeuToPrototype/%/%.4/%.5/%">
|
|
|
|
|
<details key="start" value="628"/>
|
|
|
|
|
<details key="end" value="633"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.27" references="/0/jeuToPrototype/%/%.4/%.5/%/o">
|
|
|
|
|
<details key="start" value="628"/>
|
|
|
|
|
<details key="end" value="629"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.28" references="/0/jeuToPrototype/%/%.4/%.6">
|
|
|
|
|
<details key="start" value="639"/>
|
|
|
|
|
<details key="end" value="658"/>
|
|
|
|
|
<details key="line" value="23"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.29" references="/0/jeuToPrototype/%/%.4/%.7">
|
|
|
|
|
<details key="start" value="659"/>
|
|
|
|
|
<details key="end" value="668"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.30" references="/0/jeuToPrototype/%/%.4/%.7/%">
|
|
|
|
|
<details key="start" value="659"/>
|
|
|
|
|
<details key="end" value="664"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.31" references="/0/jeuToPrototype/%/%.4/%.7/%/o">
|
|
|
|
|
<details key="start" value="659"/>
|
|
|
|
|
<details key="end" value="660"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.32" references="/0/jeuToPrototype/%/%.4/%.8">
|
|
|
|
|
<details key="start" value="670"/>
|
|
|
|
|
<details key="end" value="677"/>
|
|
|
|
|
<details key="line" value="24"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.33" references="/0/jeuToPrototype/%/%.4/%.9">
|
|
|
|
|
<details key="start" value="678"/>
|
|
|
|
|
<details key="end" value="686"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.34" references="/0/jeuToPrototype/%/%.4/%.9/o">
|
|
|
|
|
<details key="start" value="678"/>
|
|
|
|
|
<details key="end" value="679"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.35" references="/0/jeuToPrototype/%/%.4/%.10">
|
|
|
|
|
<details key="start" value="688"/>
|
|
|
|
|
<details key="end" value="713"/>
|
|
|
|
|
<details key="line" value="25"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.36" references="/0/jeuToPrototype/%/%.4/%.11">
|
|
|
|
|
<details key="start" value="714"/>
|
|
|
|
|
<details key="end" value="719"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.37" references="/0/jeuToPrototype/%/%.4/%.11/o">
|
|
|
|
|
<details key="start" value="714"/>
|
|
|
|
|
<details key="end" value="715"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.38" references="/0/jeuToPrototype/%/%.4/%.12">
|
|
|
|
|
<details key="start" value="721"/>
|
|
|
|
|
<details key="end" value="771"/>
|
|
|
|
|
<details key="line" value="27"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.39" references="/0/jeuToPrototype/%/%.4/o">
|
|
|
|
|
<details key="start" value="373"/>
|
|
|
|
|
<details key="end" value="382"/>
|
|
|
|
|
<details key="line" value="14"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.40" references="/0/jeuToPrototype/%/%.4/%.13">
|
|
|
|
|
<details key="start" value="385"/>
|
|
|
|
|
<details key="end" value="395"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.41" references="/0/jeuToPrototype/%/%.4/%.13/jeu">
|
|
|
|
|
<details key="start" value="385"/>
|
|
|
|
|
<details key="end" value="388"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.42" references="/0/jeuToPrototype/%/%.5">
|
|
|
|
|
<details key="start" value="778"/>
|
|
|
|
|
<details key="end" value="781"/>
|
|
|
|
|
<details key="line" value="30"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.43" references="/0/jeuToPrototype/%/%.6">
|
|
|
|
|
<details key="start" value="156"/>
|
|
|
|
|
<details key="end" value="172"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.44" references="/0/jeuToPrototype/%/%.7">
|
|
|
|
|
<details key="start" value="181"/>
|
|
|
|
|
<details key="end" value="188"/>
|
|
|
|
|
<details key="line" value="0"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
<eAnnotations source="positions.45" references="/0/jeuToPrototype/jeu">
|
|
|
|
|
<details key="start" value="120"/>
|
|
|
|
|
<details key="end" value="129"/>
|
|
|
|
|
<details key="line" value="5"/>
|
|
|
|
|
</eAnnotations>
|
|
|
|
|
</ecore:EAnnotation>
|
|
|
|
|
</xmi:XMI>
|