added project
This commit is contained in:
parent
8bfd5f20e5
commit
b4b900f912
10
JAVA/PROJET-PMT_STRI1A/.classpath
Normal file
10
JAVA/PROJET-PMT_STRI1A/.classpath
Normal 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
1
JAVA/PROJET-PMT_STRI1A/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/bin/
|
17
JAVA/PROJET-PMT_STRI1A/.project
Normal file
17
JAVA/PROJET-PMT_STRI1A/.project
Normal 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>
|
12
JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.core.prefs
Normal file
12
JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.core.prefs
Normal 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
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Arme.java
Normal file
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Arme.java
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Arme extends Objet {
|
||||
|
||||
private int pArme;
|
||||
|
||||
}
|
14
JAVA/PROJET-PMT_STRI1A/src/modeles/Armure.java
Normal file
14
JAVA/PROJET-PMT_STRI1A/src/modeles/Armure.java
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Armure extends Objet {
|
||||
|
||||
private int pArmure;
|
||||
|
||||
}
|
13
JAVA/PROJET-PMT_STRI1A/src/modeles/Bourse.java
Normal file
13
JAVA/PROJET-PMT_STRI1A/src/modeles/Bourse.java
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Bourse extends Objet {
|
||||
private int valeur;
|
||||
|
||||
}
|
17
JAVA/PROJET-PMT_STRI1A/src/modeles/EtreVivant.java
Normal file
17
JAVA/PROJET-PMT_STRI1A/src/modeles/EtreVivant.java
Normal 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;
|
||||
|
||||
}
|
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Labyrinthe.java
Normal file
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Labyrinthe.java
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Labyrinthe {
|
||||
|
||||
}
|
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Marche.java
Normal file
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Marche.java
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Marche extends Salle {
|
||||
|
||||
}
|
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Monstre.java
Normal file
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Monstre.java
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Monstre extends EtreVivant {
|
||||
|
||||
}
|
15
JAVA/PROJET-PMT_STRI1A/src/modeles/Objet.java
Normal file
15
JAVA/PROJET-PMT_STRI1A/src/modeles/Objet.java
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Objet {
|
||||
private String nom;
|
||||
private int prix;
|
||||
private int usure;
|
||||
|
||||
}
|
22
JAVA/PROJET-PMT_STRI1A/src/modeles/Personnage.java
Normal file
22
JAVA/PROJET-PMT_STRI1A/src/modeles/Personnage.java
Normal 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){
|
||||
|
||||
}
|
||||
|
||||
}
|
14
JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java
Normal file
14
JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Porte {
|
||||
private boolean ouvert;
|
||||
private char orientation;
|
||||
|
||||
}
|
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Potion.java
Normal file
12
JAVA/PROJET-PMT_STRI1A/src/modeles/Potion.java
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Potion extends Objet {
|
||||
|
||||
}
|
15
JAVA/PROJET-PMT_STRI1A/src/modeles/Salle.java
Normal file
15
JAVA/PROJET-PMT_STRI1A/src/modeles/Salle.java
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package modeles;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Salle {
|
||||
private int positionX;
|
||||
private int positionY;
|
||||
private boolean sortie;
|
||||
|
||||
}
|
12
JAVA/PROJET-PMT_STRI1A/src/test/Test.java
Normal file
12
JAVA/PROJET-PMT_STRI1A/src/test/Test.java
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package test;
|
||||
|
||||
/**
|
||||
* @author flavien
|
||||
*
|
||||
*/
|
||||
public class Test {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user