added project

master
Flavien Haas 6 years ago
parent 8bfd5f20e5
commit b4b900f912

BIN
.DS_Store vendored

Binary file not shown.

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>PROJET-PMT_STRI1A</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

@ -0,0 +1,12 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11

File diff suppressed because one or more lines are too long

@ -0,0 +1,12 @@
package modeles;
/**
* @author flavien
*
*/
public class Arme extends Objet {
private int pArme;
}

@ -0,0 +1,14 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Armure extends Objet {
private int pArmure;
}

@ -0,0 +1,13 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Bourse extends Objet {
private int valeur;
}

@ -0,0 +1,17 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class EtreVivant {
private int pVieMax;
private int pVie;
private int pAttaque;
private Salle salle;
private boolean vivant;
}

@ -0,0 +1,12 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Labyrinthe {
}

@ -0,0 +1,12 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Marche extends Salle {
}

@ -0,0 +1,12 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Monstre extends EtreVivant {
}

@ -0,0 +1,15 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Objet {
private String nom;
private int prix;
private int usure;
}

@ -0,0 +1,22 @@
package modeles;
/**
* @author flavien
*
*/
public class Personnage extends EtreVivant {
public void equiper(Arme arme, Armure armure) {
}
public void utiliser(Potion potion) {
}
public void seDeplacer() {
}
public void allerMarche(Salle salle){
}
}

@ -0,0 +1,14 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Porte {
private boolean ouvert;
private char orientation;
}

@ -0,0 +1,12 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Potion extends Objet {
}

@ -0,0 +1,15 @@
/**
*
*/
package modeles;
/**
* @author flavien
*
*/
public class Salle {
private int positionX;
private int positionY;
private boolean sortie;
}

@ -0,0 +1,12 @@
/**
*
*/
package test;
/**
* @author flavien
*
*/
public class Test {
}
Loading…
Cancel
Save