Skip to content
Snippets Groups Projects
Commit 56ced531 authored by mcder's avatar mcder
Browse files

deleted redundant files

parent d520cd8a
No related branches found
No related tags found
No related merge requests found
source diff could not be displayed: it is too large. Options to address this: view the blob.
<?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="example" nsURI="http://www.example.org/unityGameDSL_v2" nsPrefix="ex">
<eClassifiers xsi:type="ecore:EClass" name="Game">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="title" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="dataManager" eType="#//DataManager"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="guiElements" upperBound="-1"
eType="#//GUIElement" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="components" upperBound="-1"
eType="#//Component" containment="true" eOpposite="#//Component/game"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//GameType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DataManager">
<eStructuralFeatures xsi:type="ecore:EReference" name="controls" upperBound="-1"
eType="#//Data" containment="true" eOpposite="#//Data/owner"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GUIElement" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="data" lowerBound="1" eType="#//Data"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GameAction" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Component"
eOpposite="#//Component/actions"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Data">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//EDataType"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//DataManager"
eOpposite="#//DataManager/controls"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="EDataType">
<eLiterals name="int"/>
<eLiterals name="float" value="1"/>
<eLiterals name="string" value="2"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Component">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="game" eType="#//Game" eOpposite="#//Game/components"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="movement" eType="#//Movement"
containment="true" eOpposite="#//Movement/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="update" upperBound="-1"
eType="#//GameAction"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="start" upperBound="-1"
eType="#//GameAction"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="keyPresses" upperBound="-1"
eType="#//KeyPress" containment="true" eOpposite="#//KeyPress/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1"
eType="#//Variable" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="actions" upperBound="-1"
eType="#//GameAction" containment="true" eOpposite="#//GameAction/owner"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="onContact" upperBound="-1"
eType="#//OnContact" containment="true" eOpposite="#//OnContact/owner"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BarDisplay" eSuperTypes="#//GUIElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="minValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
defaultValueLiteral="0"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="maxValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
defaultValueLiteral="0"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="TextDisplay" eSuperTypes="#//GUIElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="prefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="postfix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="GameType">
<eLiterals name="Sideways2D"/>
<eLiterals name="Topdown2D" value="1"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Movement" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Component"
eOpposite="#//Component/movement"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="speed" lowerBound="1" eType="#//DataType"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="rigidbody" lowerBound="1"
eType="#//Rigidbody2D"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Topdown" eSuperTypes="#//Movement"/>
<eClassifiers xsi:type="ecore:EClass" name="Sideways" eSuperTypes="#//Movement">
<eStructuralFeatures xsi:type="ecore:EReference" name="jumpSpeed" lowerBound="1"
eType="#//DataType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="ColliderShape">
<eLiterals name="box" literal="box"/>
<eLiterals name="capsule" value="1"/>
<eLiterals name="circle" value="2"/>
<eLiterals name="composite" value="3"/>
<eLiterals name="edge" value="4"/>
<eLiterals name="polygon" value="5"/>
<eLiterals name="tilemap" value="6"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ApplyForce" eSuperTypes="#//GameAction">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="mode" eType="#//ForceMode"
defaultValueLiteral="Impulse"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="appliedForce" lowerBound="1"
eType="#//DataType"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="direction" lowerBound="1"
eType="#//Vector2" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Destroy" eSuperTypes="#//GameAction">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="delay" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"
defaultValueLiteral="0"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Instantiate" eSuperTypes="#//GameAction">
<eStructuralFeatures xsi:type="ecore:EReference" name="prefab" lowerBound="1"
eType="#//Prefab"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isChild" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isRelativePos" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="position" lowerBound="1"
eType="#//Vector2" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Vector2">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="x" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="y" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DataUpdate" abstract="true" eSuperTypes="#//GameAction">
<eStructuralFeatures xsi:type="ecore:EReference" name="data" lowerBound="1" eType="#//Data"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Add" eSuperTypes="#//DataUpdate"/>
<eClassifiers xsi:type="ecore:EClass" name="Subtract" eSuperTypes="#//DataUpdate"/>
<eClassifiers xsi:type="ecore:EClass" name="Set" eSuperTypes="#//DataUpdate"/>
<eClassifiers xsi:type="ecore:EClass" name="OnCollisionExit"/>
<eClassifiers xsi:type="ecore:EEnum" name="ForceMode">
<eLiterals name="Force"/>
<eLiterals name="Impulse" value="1"/>
<eLiterals name="VelocityChange" value="2"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="KeyPress">
<eStructuralFeatures xsi:type="ecore:EReference" name="executes" upperBound="-1"
eType="#//GameAction"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Component"
eOpposite="#//Component/keyPresses"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="Transform">
<eLiterals name="forward"/>
<eLiterals name="up" value="1"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Variable" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DataType" eSuperTypes="#//Variable">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//EDataType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentType" eSuperTypes="#//Variable">
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedType" lowerBound="1"
eType="#//Component"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Prefab" eSuperTypes="#//Variable"/>
<eClassifiers xsi:type="ecore:EClass" name="Rigidbody2D" eSuperTypes="#//Variable"/>
<eClassifiers xsi:type="ecore:EClass" name="Collider2D" eSuperTypes="#//Variable">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="shape" eType="#//ColliderShape"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isTrigger" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Image" eSuperTypes="#//Variable"/>
<eClassifiers xsi:type="ecore:EClass" name="Vector3" eSuperTypes="#//Vector2">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="z" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OnContact" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Component"
eOpposite="#//Component/onContact"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="executes" upperBound="-1"
eType="#//GameAction"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="filter" lowerBound="1"
upperBound="-1" eType="#//ContactFilter" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OnCollision" eSuperTypes="#//OnContact"/>
<eClassifiers xsi:type="ecore:EClass" name="OnTrigger" eSuperTypes="#//OnContact"/>
<eClassifiers xsi:type="ecore:EClass" name="ContactFilter" abstract="true"/>
<eClassifiers xsi:type="ecore:EClass" name="TaggedContact" eSuperTypes="#//ContactFilter">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="tag" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComponentContact" eSuperTypes="#//ContactFilter">
<eStructuralFeatures xsi:type="ecore:EReference" name="referencedType" lowerBound="1"
eType="#//Component"/>
</eClassifiers>
</ecore:EPackage>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment