added project

This commit is contained in:
Flavien Haas 2019-04-12 11:11:12 +02:00
parent 8bfd5f20e5
commit b4b900f912
19 changed files with 225 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -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>

1
JAVA/PROJET-PMT_STRI1A/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/bin/

View File

@ -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>

View File

@ -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

View File

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

View File

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

View File

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

View File

@ -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;
}

View File

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

View File

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

View File

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

View File

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

View File

@ -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){
}
}

View File

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

View File

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

View File

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

View File

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