bug sur l'ancien push
This commit is contained in:
parent
c40d949ccc
commit
51722ab44e
0
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/.lock
Normal file
0
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/.lock
Normal file
79
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/.log
Normal file
79
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/.log
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
!SESSION 2019-05-05 11:22:39.686 -----------------------------------------------
|
||||||
|
eclipse.buildId=4.10.0.I20181206-0815
|
||||||
|
java.version=11.0.2
|
||||||
|
java.vendor=Oracle Corporation
|
||||||
|
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
|
||||||
|
Framework arguments: -product org.eclipse.epp.package.java.product
|
||||||
|
Command-line arguments: -data /home/nicolas/Bureau/PROJET-PMT_STRI1A/JAVA/PROJET-PMT_STRI1A/src/json -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.mylyn.bugzilla.core 4 0 2019-05-05 11:22:40.315
|
||||||
|
!MESSAGE FrameworkEvent ERROR
|
||||||
|
!STACK 0
|
||||||
|
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.mylyn.bugzilla.core [262]
|
||||||
|
Unresolved requirement: Require-Bundle: org.apache.xmlrpc
|
||||||
|
-> Bundle-SymbolicName: org.apache.xmlrpc; bundle-version="3.0.0.v20100427-1100"
|
||||||
|
org.apache.xmlrpc [54]
|
||||||
|
Unresolved requirement: Import-Package: javax.xml.bind
|
||||||
|
Unresolved requirement: Require-Bundle: org.eclipse.mylyn.commons.xmlrpc; bundle-version="[3.8.0,4.0.0)"
|
||||||
|
-> Bundle-SymbolicName: org.eclipse.mylyn.commons.xmlrpc; bundle-version="3.24.2.v20180904-2231"; singleton:="true"
|
||||||
|
org.eclipse.mylyn.commons.xmlrpc [279]
|
||||||
|
Unresolved requirement: Require-Bundle: org.apache.xmlrpc; bundle-version="[3.0.0,4.0.0)"
|
||||||
|
-> Bundle-SymbolicName: org.apache.xmlrpc; bundle-version="3.0.0.v20100427-1100"
|
||||||
|
|
||||||
|
at org.eclipse.osgi.container.Module.start(Module.java:451)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1762)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1725)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1656)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
|
||||||
|
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
|
||||||
|
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.mylyn.bugzilla.ui 4 0 2019-05-05 11:22:40.320
|
||||||
|
!MESSAGE FrameworkEvent ERROR
|
||||||
|
!STACK 0
|
||||||
|
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.mylyn.bugzilla.ui [264]
|
||||||
|
Unresolved requirement: Require-Bundle: org.eclipse.mylyn.bugzilla.core; bundle-version="[3.8.0,4.0.0)"
|
||||||
|
-> Bundle-SymbolicName: org.eclipse.mylyn.bugzilla.core; bundle-version="3.24.2.v20180905-0003"; singleton:="true"
|
||||||
|
org.eclipse.mylyn.bugzilla.core [262]
|
||||||
|
Unresolved requirement: Require-Bundle: org.apache.xmlrpc
|
||||||
|
-> Bundle-SymbolicName: org.apache.xmlrpc; bundle-version="3.0.0.v20100427-1100"
|
||||||
|
org.apache.xmlrpc [54]
|
||||||
|
Unresolved requirement: Import-Package: javax.xml.bind
|
||||||
|
Unresolved requirement: Require-Bundle: org.eclipse.mylyn.commons.xmlrpc; bundle-version="[3.8.0,4.0.0)"
|
||||||
|
-> Bundle-SymbolicName: org.eclipse.mylyn.commons.xmlrpc; bundle-version="3.24.2.v20180904-2231"; singleton:="true"
|
||||||
|
org.eclipse.mylyn.commons.xmlrpc [279]
|
||||||
|
Unresolved requirement: Require-Bundle: org.apache.xmlrpc; bundle-version="[3.0.0,4.0.0)"
|
||||||
|
-> Bundle-SymbolicName: org.apache.xmlrpc; bundle-version="3.0.0.v20100427-1100"
|
||||||
|
|
||||||
|
at org.eclipse.osgi.container.Module.start(Module.java:451)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1762)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1725)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1656)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
|
||||||
|
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
|
||||||
|
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.mylyn.commons.xmlrpc 4 0 2019-05-05 11:22:40.325
|
||||||
|
!MESSAGE FrameworkEvent ERROR
|
||||||
|
!STACK 0
|
||||||
|
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.mylyn.commons.xmlrpc [279]
|
||||||
|
Unresolved requirement: Require-Bundle: org.apache.xmlrpc; bundle-version="[3.0.0,4.0.0)"
|
||||||
|
-> Bundle-SymbolicName: org.apache.xmlrpc; bundle-version="3.0.0.v20100427-1100"
|
||||||
|
org.apache.xmlrpc [54]
|
||||||
|
Unresolved requirement: Import-Package: javax.xml.bind
|
||||||
|
|
||||||
|
at org.eclipse.osgi.container.Module.start(Module.java:451)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1762)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1725)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1656)
|
||||||
|
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
|
||||||
|
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
|
||||||
|
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.mylyn.tasks.core 4 0 2019-05-05 11:22:43.007
|
||||||
|
!MESSAGE Unexpected error while loading repository template extensions
|
||||||
|
!SUBENTRY 1 org.eclipse.mylyn.tasks.core 4 0 2019-05-05 11:22:43.007
|
||||||
|
!MESSAGE Could not load repository template extension contributed by 'org.eclipse.mylyn.bugzilla.ide' with connectorKind 'bugzilla'
|
Binary file not shown.
Binary file not shown.
BIN
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/.mylyn/tasks.xml.zip
Normal file
BIN
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/.mylyn/tasks.xml.zip
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
version=1
|
@ -0,0 +1,9 @@
|
|||||||
|
content_assist_proposals_background=252,252,252
|
||||||
|
content_assist_proposals_foreground=35,38,39
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.ui.formatterprofiles.version=15
|
||||||
|
org.eclipse.jdt.ui.text.code_templates_migrated=true
|
||||||
|
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
|
||||||
|
spelling_locale_initialized=true
|
||||||
|
useAnnotationsPrefPage=true
|
||||||
|
useQuickDiffPrefPage=true
|
@ -0,0 +1,2 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.m2e.discovery.pref.projects=
|
@ -0,0 +1,2 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
mylyn.attention.migrated=true
|
@ -0,0 +1,2 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true
|
@ -0,0 +1,5 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
migrated.task.repositories.secure.store=true
|
||||||
|
org.eclipse.mylyn.tasks.ui.filters.nonmatching=true
|
||||||
|
org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true
|
||||||
|
org.eclipse.mylyn.tasks.ui.welcome.message=true
|
@ -0,0 +1,5 @@
|
|||||||
|
PROBLEMS_FILTERS_MIGRATE=true
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
platformState=1548420157012
|
||||||
|
quickStart=false
|
||||||
|
tipsAndTricks=true
|
@ -0,0 +1,2 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
showIntro=false
|
@ -0,0 +1,3 @@
|
|||||||
|
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
|
||||||
|
PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery;
|
||||||
|
eclipse.preferences.version=1
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<typeInfoHistroy/>
|
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<qualifiedTypeNameHistroy/>
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<section name="Workbench">
|
||||||
|
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
|
||||||
|
<item value="2" key="layout"/>
|
||||||
|
<item value="true" key="group_libraries"/>
|
||||||
|
<item value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer group_libraries="1" layout="2" linkWithEditor="0" rootMode="1" workingSetName="Aggregate for window 1557048163961">
<customFilters userDefinedPatternsEnabled="false">
<xmlDefinedFilters>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.StaticsFilter" isEnabled="false"/>
<child filterId="org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder" isEnabled="true"/>
<child filterId="org.eclipse.mylyn.java.ui.MembersFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter" isEnabled="true"/>
<child filterId="org.eclipse.m2e.MavenModuleFilter" isEnabled="false"/>
<child filterId="org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.FieldsFilter" isEnabled="false"/>
</xmlDefinedFilters>
</customFilters>
</packageExplorer>" key="memento"/>
|
||||||
|
<item value="1" key="rootMode"/>
|
||||||
|
<item value="false" key="linkWithEditor"/>
|
||||||
|
</section>
|
||||||
|
<section name="JavaElementSearchActions">
|
||||||
|
</section>
|
||||||
|
</section>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
2019-05-05 11:22:44,020 [Worker-1: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
@ -0,0 +1,43 @@
|
|||||||
|
<configuration scan="true">
|
||||||
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||||
|
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||||
|
</encoder>
|
||||||
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||||
|
<level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
|
||||||
|
</filter>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||||
|
<File>${org.eclipse.m2e.log.dir}/0.log</File>
|
||||||
|
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||||
|
<FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
|
||||||
|
<MinIndex>1</MinIndex>
|
||||||
|
<MaxIndex>10</MaxIndex>
|
||||||
|
</rollingPolicy>
|
||||||
|
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||||
|
<MaxFileSize>100MB</MaxFileSize>
|
||||||
|
</triggeringPolicy>
|
||||||
|
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||||
|
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
|
||||||
|
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||||
|
<level>WARN</level>
|
||||||
|
</filter>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<root level="INFO">
|
||||||
|
<appender-ref ref="FILE" />
|
||||||
|
<appender-ref ref="STDOUT" />
|
||||||
|
<appender-ref ref="EclipseLog" />
|
||||||
|
<appender-ref ref="MavenConsoleLog" />
|
||||||
|
</root>
|
||||||
|
|
||||||
|
<logger name="com.ning.http.client" level="INFO" />
|
||||||
|
</configuration>
|
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<setup:Workspace
|
||||||
|
xmi:version="2.0"
|
||||||
|
xmlns:xmi="http://www.omg.org/XMI"
|
||||||
|
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
|
||||||
|
name="workspace"/>
|
@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<section name="Workbench">
|
||||||
|
</section>
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<section name="Workbench">
|
||||||
|
<section name="WORKBENCH_SETTINGS">
|
||||||
|
<list key="ENABLED_TRANSFERS">
|
||||||
|
</list>
|
||||||
|
</section>
|
||||||
|
<section name="ChooseWorkspaceDialogSettings">
|
||||||
|
<item value="185" key="DIALOG_X_ORIGIN"/>
|
||||||
|
<item value="114" key="DIALOG_Y_ORIGIN"/>
|
||||||
|
</section>
|
||||||
|
</section>
|
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<state reopen="false"/>
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<section name="Workbench">
|
||||||
|
<section name="org.eclipse.ui.internal.QuickAccess">
|
||||||
|
<item value="-1" key="dialogHeight"/>
|
||||||
|
<item value="-1" key="dialogWidth"/>
|
||||||
|
<list key="textEntries">
|
||||||
|
</list>
|
||||||
|
<list key="orderedElements">
|
||||||
|
</list>
|
||||||
|
<list key="orderedProviders">
|
||||||
|
</list>
|
||||||
|
<list key="textArray">
|
||||||
|
</list>
|
||||||
|
</section>
|
||||||
|
</section>
|
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<workingSetManager>
|
||||||
|
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1557048163502_0" label="Java Main Sources" name="Java Main Sources"/>
|
||||||
|
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1557048163509_1" label="Java Test Sources" name="Java Test Sources"/>
|
||||||
|
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1557048163961_2" label="Window Working Set" name="Aggregate for window 1557048163961"/>
|
||||||
|
</workingSetManager>
|
3
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/version.ini
Normal file
3
JAVA/PROJET-PMT_STRI1A/src/json/.metadata/version.ini
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#Sun May 05 11:22:40 CEST 2019
|
||||||
|
org.eclipse.core.runtime=2
|
||||||
|
org.eclipse.platform=4.10.0.v20181206-0815
|
@ -20,8 +20,8 @@ public class Generateur {
|
|||||||
}
|
}
|
||||||
//FileReader file = new FileReader(json);
|
//FileReader file = new FileReader(json);
|
||||||
Gson gson = new Gson();
|
Gson gson = new Gson();
|
||||||
String str="{\"positionX\":0,\"positionY\":0,\"sortie\":false,\"monstre\":[{\"nom\":\"premier monstre\",\"pAttaque\":5}],\"porte\":[{\"ouvert\":true, \"position\":\"H\"}]}";
|
//String str="{\"positionX\":0,\"positionY\":0,\"sortie\":false,\"monstre\":[{\"nom\":\"premier monstre\",\"pAttaque\":5}],\"porte\":[{\"ouvert\":true, \"position\":\"H\"}]}";
|
||||||
Labyrinthe labyrithe = gson.fromJson(str, Labyrinthe.class);
|
Labyrinthe labyrithe = gson.fromJson(bfr, Labyrinthe.class);
|
||||||
return labyrithe;
|
return labyrithe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ public class main {
|
|||||||
|
|
||||||
Generateur gene = new Generateur();
|
Generateur gene = new Generateur();
|
||||||
Labyrinthe lab = gene.labyrithe();
|
Labyrinthe lab = gene.labyrithe();
|
||||||
lab.getListeSalle();
|
//lab.getListeSalle();
|
||||||
|
|
||||||
Arme arme = new Arme("arme1", 10, 10, 10);
|
Arme arme = new Arme("arme1", 10, 10, 10);
|
||||||
System.out.println("");
|
System.out.println("");
|
||||||
|
@ -18,7 +18,7 @@ public class Arme extends Objet {
|
|||||||
public String getType() {
|
public String getType() {
|
||||||
return "Arme";
|
return "Arme";
|
||||||
}
|
}
|
||||||
|
public Arme(){}
|
||||||
public Arme(String nm, int valeur, int resistance, int attaque) {
|
public Arme(String nm, int valeur, int resistance, int attaque) {
|
||||||
super(nm, valeur, resistance);
|
super(nm, valeur, resistance);
|
||||||
this.pArme=attaque;
|
this.pArme=attaque;
|
||||||
|
@ -18,7 +18,7 @@ public class Armure extends Objet {
|
|||||||
public String getType () {
|
public String getType () {
|
||||||
return "Armure";
|
return "Armure";
|
||||||
}
|
}
|
||||||
|
public Armure(){}
|
||||||
public Armure(String nm, int valeur, int resistance,int efficacite) {
|
public Armure(String nm, int valeur, int resistance,int efficacite) {
|
||||||
super(nm, valeur, resistance);
|
super(nm, valeur, resistance);
|
||||||
this.pArmure=efficacite;
|
this.pArmure=efficacite;
|
||||||
|
@ -8,6 +8,7 @@ public class Personnage extends EtreVivant {
|
|||||||
private Arme arme;
|
private Arme arme;
|
||||||
private Armure armure;
|
private Armure armure;
|
||||||
private Bourse bourse;
|
private Bourse bourse;
|
||||||
|
public Personnage(){}
|
||||||
public Personnage(String nom, int pVieMax,int pAttaque) {
|
public Personnage(String nom, int pVieMax,int pAttaque) {
|
||||||
super(nom, pVieMax, pAttaque);
|
super(nom, pVieMax, pAttaque);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user