From b4b900f912085b8c2633ebdec0844614f40e85a4 Mon Sep 17 00:00:00 2001 From: flavien Date: Fri, 12 Apr 2019 11:11:12 +0200 Subject: [PATCH] added project --- .DS_Store | Bin 6148 -> 6148 bytes JAVA/PROJET-PMT_STRI1A/.classpath | 10 ++++++++ JAVA/PROJET-PMT_STRI1A/.gitignore | 1 + JAVA/PROJET-PMT_STRI1A/.project | 17 ++++++++++++++ .../.settings/org.eclipse.jdt.core.prefs | 12 ++++++++++ .../.settings/org.eclipse.jdt.ui.prefs | 3 +++ JAVA/PROJET-PMT_STRI1A/src/modeles/Arme.java | 12 ++++++++++ .../PROJET-PMT_STRI1A/src/modeles/Armure.java | 14 +++++++++++ .../PROJET-PMT_STRI1A/src/modeles/Bourse.java | 13 +++++++++++ .../src/modeles/EtreVivant.java | 17 ++++++++++++++ .../src/modeles/Labyrinthe.java | 12 ++++++++++ .../PROJET-PMT_STRI1A/src/modeles/Marche.java | 12 ++++++++++ .../src/modeles/Monstre.java | 12 ++++++++++ JAVA/PROJET-PMT_STRI1A/src/modeles/Objet.java | 15 ++++++++++++ .../src/modeles/Personnage.java | 22 ++++++++++++++++++ JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java | 14 +++++++++++ .../PROJET-PMT_STRI1A/src/modeles/Potion.java | 12 ++++++++++ JAVA/PROJET-PMT_STRI1A/src/modeles/Salle.java | 15 ++++++++++++ JAVA/PROJET-PMT_STRI1A/src/test/Test.java | 12 ++++++++++ 19 files changed, 225 insertions(+) create mode 100644 JAVA/PROJET-PMT_STRI1A/.classpath create mode 100644 JAVA/PROJET-PMT_STRI1A/.gitignore create mode 100644 JAVA/PROJET-PMT_STRI1A/.project create mode 100644 JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.core.prefs create mode 100644 JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.ui.prefs create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Arme.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Armure.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Bourse.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/EtreVivant.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Labyrinthe.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Marche.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Monstre.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Objet.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Personnage.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Potion.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/modeles/Salle.java create mode 100644 JAVA/PROJET-PMT_STRI1A/src/test/Test.java diff --git a/.DS_Store b/.DS_Store index e462dfccfd8592f34d9f4d9d3dde6d7e5118bc35..9bb9b45a320cf60e912e35199f7140411e886066 100644 GIT binary patch delta 193 zcmZoMXfc=|#>B`mF;Q%yo+38~0|Nsi1A_oVPWr@m8|y(_76vZ{M}{y4$DDM-;N<+= z0-zWSz~yrDU0jlK@{@oP9MgI{7q}T5bOf@Ip3E;|$N_X8Ljw?R_7K^_3;-n_Cxie1 delta 72 zcmZoMXfc=|#>CJ*F;Q%yo+3XB0|Nsi1A_pAVQ_MOZo$MvT}GD8EsV` diff --git a/JAVA/PROJET-PMT_STRI1A/.classpath b/JAVA/PROJET-PMT_STRI1A/.classpath new file mode 100644 index 0000000..d54800d --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/JAVA/PROJET-PMT_STRI1A/.gitignore b/JAVA/PROJET-PMT_STRI1A/.gitignore new file mode 100644 index 0000000..ae3c172 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/JAVA/PROJET-PMT_STRI1A/.project b/JAVA/PROJET-PMT_STRI1A/.project new file mode 100644 index 0000000..1e5d08f --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/.project @@ -0,0 +1,17 @@ + + + PROJET-PMT_STRI1A + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.core.prefs b/JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..e256158 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.core.prefs @@ -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 diff --git a/JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.ui.prefs b/JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 0000000..a03bd4e --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.text.custom_code_templates= diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Arme.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Arme.java new file mode 100644 index 0000000..d83e7f1 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Arme.java @@ -0,0 +1,12 @@ + +package modeles; + +/** + * @author flavien + * + */ +public class Arme extends Objet { + + private int pArme; + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Armure.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Armure.java new file mode 100644 index 0000000..0405568 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Armure.java @@ -0,0 +1,14 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Armure extends Objet { + + private int pArmure; + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Bourse.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Bourse.java new file mode 100644 index 0000000..749edc2 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Bourse.java @@ -0,0 +1,13 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Bourse extends Objet { + private int valeur; + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/EtreVivant.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/EtreVivant.java new file mode 100644 index 0000000..5ae3db9 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/EtreVivant.java @@ -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; + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Labyrinthe.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Labyrinthe.java new file mode 100644 index 0000000..42b67e1 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Labyrinthe.java @@ -0,0 +1,12 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Labyrinthe { + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Marche.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Marche.java new file mode 100644 index 0000000..dd7d35b --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Marche.java @@ -0,0 +1,12 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Marche extends Salle { + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Monstre.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Monstre.java new file mode 100644 index 0000000..16e1343 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Monstre.java @@ -0,0 +1,12 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Monstre extends EtreVivant { + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Objet.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Objet.java new file mode 100644 index 0000000..1f0b486 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Objet.java @@ -0,0 +1,15 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Objet { + private String nom; + private int prix; + private int usure; + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Personnage.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Personnage.java new file mode 100644 index 0000000..a922772 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Personnage.java @@ -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){ + + } + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java new file mode 100644 index 0000000..7077482 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java @@ -0,0 +1,14 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Porte { + private boolean ouvert; + private char orientation; + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Potion.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Potion.java new file mode 100644 index 0000000..dc7103e --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Potion.java @@ -0,0 +1,12 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Potion extends Objet { + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/modeles/Salle.java b/JAVA/PROJET-PMT_STRI1A/src/modeles/Salle.java new file mode 100644 index 0000000..b289db4 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/modeles/Salle.java @@ -0,0 +1,15 @@ +/** + * + */ +package modeles; + +/** + * @author flavien + * + */ +public class Salle { + private int positionX; + private int positionY; + private boolean sortie; + +} diff --git a/JAVA/PROJET-PMT_STRI1A/src/test/Test.java b/JAVA/PROJET-PMT_STRI1A/src/test/Test.java new file mode 100644 index 0000000..2e95c82 --- /dev/null +++ b/JAVA/PROJET-PMT_STRI1A/src/test/Test.java @@ -0,0 +1,12 @@ +/** + * + */ +package test; + +/** + * @author flavien + * + */ +public class Test { + +}