finition de la creation d'instance de labyrinthe 1

This commit is contained in:
Theo_Dubo 2019-05-14 10:56:57 +02:00
parent a6e059f401
commit d0708fb2f0
92 changed files with 5357 additions and 292 deletions

0
JAVA/.metadata/.lock Normal file
View File

10
JAVA/.metadata/.log Normal file
View File

@ -0,0 +1,10 @@
!SESSION 2019-05-14 10:18:43.838 -----------------------------------------------
eclipse.buildId=4.11.0.I20190307-0500
java.version=1.8.0_211
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -data C:\Users\theo\Desktop\Projet_Java\JAVA -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.core 1 0 2019-05-14 10:18:46.252
!MESSAGE Using Apache MINA sshd as ssh client.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
version=1

View File

@ -0,0 +1,9 @@
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
org.eclipse.jdt.ui.formatterprofiles.version=16
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

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.m2e.discovery.pref.projects=

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
mylyn.attention.migrated=true

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true

View File

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

View File

@ -0,0 +1,5 @@
PROBLEMS_FILTERS_MIGRATE=true
eclipse.preferences.version=1
platformState=1557231219850
quickStart=false
tipsAndTricks=true

View File

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

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<typeInfoHistroy/>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy/>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
<item key="group_libraries" value="true"/>
<item key="layout" value="2"/>
<item key="rootMode" value="1"/>
<item key="linkWithEditor" value="false"/>
<item key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1557821931100&quot;&gt;&#x0D;&#x0A;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;&gt;&#x0D;&#x0A;&lt;xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.mylyn.java.ui.MembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;/xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;/customFilters&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;"/>
</section>
</section>

View File

@ -0,0 +1 @@
2019-05-14 10:18:54,854 [Worker-4: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.

View File

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

View File

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

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
</section>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="ChooseWorkspaceDialogSettings">
<item key="DIALOG_X_ORIGIN" value="201"/>
<item key="DIALOG_Y_ORIGIN" value="135"/>
</section>
<section name="WORKBENCH_SETTINGS">
<list key="ENABLED_TRANSFERS">
</list>
</section>
</section>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<state reopen="true"/>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.ui.internal.QuickAccess">
<item key="dialogHeight" value="-1"/>
<item key="dialogWidth" value="-1"/>
<list key="orderedElements">
</list>
<list key="orderedProviders">
</list>
<list key="textEntries">
</list>
<list key="textArray">
</list>
</section>
</section>

View File

@ -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="1557821929087_0" label="Java Main Sources" name="Java Main Sources"/>
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1557821929116_1" label="Java Test Sources" name="Java Test Sources"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1557821931100_2" label="Window Working Set" name="Aggregate for window 1557821931100"/>
</workingSetManager>

View File

@ -0,0 +1,3 @@
#Tue May 14 10:18:45 CEST 2019
org.eclipse.core.runtime=2
org.eclipse.platform=4.11.0.v20190307-0500

View File

View File

@ -0,0 +1,20 @@
!SESSION 2019-05-14 10:15:38.745 -----------------------------------------------
eclipse.buildId=4.11.0.I20190307-0500
java.version=1.8.0_211
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.core 1 0 2019-05-14 10:16:45.803
!MESSAGE Using Apache MINA sshd as ssh client.
!SESSION 2019-05-14 10:19:13.978 -----------------------------------------------
eclipse.buildId=4.11.0.I20190307-0500
java.version=1.8.0_211
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -data C:\Users\theo\Desktop\Projet_Java\JAVA\PROJET-PMT_STRI1A -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.core 1 0 2019-05-14 10:19:16.764
!MESSAGE Using Apache MINA sshd as ssh client.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
version=1

View File

@ -0,0 +1,9 @@
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
org.eclipse.jdt.ui.formatterprofiles.version=16
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

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.m2e.discovery.pref.projects=

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
mylyn.attention.migrated=true

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true

View File

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

View File

@ -0,0 +1,5 @@
PROBLEMS_FILTERS_MIGRATE=true
eclipse.preferences.version=1
platformState=1557231219850
quickStart=false
tipsAndTricks=true

View File

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

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<typeInfoHistroy/>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy/>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
<item key="group_libraries" value="true"/>
<item key="layout" value="2"/>
<item key="rootMode" value="1"/>
<item key="linkWithEditor" value="false"/>
<item key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1557821832394&quot;&gt;&#x0D;&#x0A;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;&gt;&#x0D;&#x0A;&lt;xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.mylyn.java.ui.MembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;/xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;/customFilters&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;"/>
</section>
</section>

View File

@ -0,0 +1,2 @@
2019-05-14 10:17:21,870 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
2019-05-14 10:19:23,807 [Worker-3: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.

View File

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

View File

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

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
</section>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="ChooseWorkspaceDialogSettings">
<item key="DIALOG_X_ORIGIN" value="201"/>
<item key="DIALOG_Y_ORIGIN" value="163"/>
</section>
<section name="WORKBENCH_SETTINGS">
<list key="ENABLED_TRANSFERS">
</list>
</section>
</section>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<state reopen="true"/>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.ui.internal.QuickAccess">
<item key="dialogHeight" value="-1"/>
<item key="dialogWidth" value="-1"/>
<list key="orderedElements">
</list>
<list key="orderedProviders">
</list>
<list key="textEntries">
</list>
<list key="textArray">
</list>
</section>
</section>

View File

@ -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="1557821826460_0" label="Java Main Sources" name="Java Main Sources"/>
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1557821826501_1" label="Java Test Sources" name="Java Test Sources"/>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1557821832394_2" label="Window Working Set" name="Aggregate for window 1557821832394"/>
</workingSetManager>

View File

@ -0,0 +1,3 @@
#Tue May 14 10:19:15 CEST 2019
org.eclipse.core.runtime=2
org.eclipse.platform=4.11.0.v20190307-0500

View File

@ -1,12 +1,9 @@
package modeles;
/**
* @author flavien
*
*/
public class Arme extends Objet {
private int pArme;
@ -18,11 +15,12 @@ public class Arme extends Objet {
public String getType() {
return "Arme";
}
public Arme(){}
public Arme(String nm, int valeur, int resistance, int attaque) {
super(nm, valeur, resistance);
this.pArme=attaque;
}
/* public void effectArme ? (poison, incin<EFBFBD>ration, gel, saignement, paralysie,... */
/* public void effectArme ? (poison, incinération, gel, saignement, paralysie,... */
}

View File

@ -1,6 +1,4 @@
/**
*
*/
package modeles;
/**
@ -18,12 +16,13 @@ public class Armure extends Objet {
public String getType () {
return "Armure";
}
public Armure(){}
public Armure(String nm, int valeur, int resistance,int efficacite) {
public Armure(String nm, int valeur, int resistance,int efficacité) {
super(nm, valeur, resistance);
this.pArmure=efficacite;
this.pArmure=efficacité;
}
/* public armureEffect(...) */
}

View File

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

View File

@ -32,7 +32,7 @@ public class Clavier {
try {
bool = scanner.nextBoolean();
} catch (InputMismatchException e) {
System.out.println("La valeur lu au clavier n'est pas un bool<EFBFBD>en");
System.out.println("La valeur lu au clavier n'est pas un booléen");
}
return bool;
}

View File

@ -1,7 +1,3 @@
/**
*
*/
package modeles;
/**
@ -24,16 +20,13 @@ public class EtreVivant {
* @param salle
* @param vivant
*/
public EtreVivant() {
}
public EtreVivant(String nom, int pVieMax, int pAttaque,Salle salle) {
public EtreVivant(String nom, int pVieMax, int pAttaque) {
super();
this.nom = nom;
this.pVieMax = pVieMax;
this.pVie = pVieMax;
this.pAttaque = pAttaque;
this.salle=salle;
this.salle = salle;
this.vivant = true;
}
/**
@ -45,6 +38,9 @@ public class EtreVivant {
/**
* @param nom the nom to set
*/
public void setNom(String nom) {
this.nom = nom;
}
/**
* @return the pVieMax
*/
@ -83,15 +79,16 @@ public class EtreVivant {
}
/**
* @return the salle
*/
public Salle getSalle() {
return salle;
}
/**
* @param salle the salle to set
*/
public void setSalle(Salle salle) {
this.salle = salle;
}
*/
/**
* @return the vivant
*/
@ -108,5 +105,14 @@ public class EtreVivant {
public int getPvMax() {
return this.pVieMax;
}
}

View File

@ -0,0 +1,28 @@
package modeles;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import com.google.gson.Gson;
public class Generateur {
public Labyrinthe labyrithe() {
BufferedReader bfr= null;
try {
bfr = new BufferedReader(new FileReader("C:\\Users\\theo\\Documents\\Java\\Projet\\javaProject\\src\\modeles\\lab.json"));
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
//FileReader file = new FileReader(json);
Gson gson = new Gson();
//String str="{\"positionX\":0,\"positionY\":0,\"sortie\":false,\"monstre\":[{\"nom\":\"premier monstre\",\"pAttaque\":5}],\"porte\":[{\"ouvert\":true, \"position\":\"H\"}]}";
Labyrinthe labyrithe = gson.fromJson(bfr, Labyrinthe.class);
return labyrithe;
}
}

View File

@ -1,5 +1,5 @@
/**
*
*
*/
package modeles;
@ -16,45 +16,104 @@ public class Labyrinthe {
protected List<Porte> listePorte=new ArrayList<Porte>();
protected List<Monstre> listeMonstre=new ArrayList<Monstre>();
public void generateLabyrinthe(int nInstance) {
/*switch (nInstance)
case 1 :
return Labyrinthe1();
break;
}*/
labyrinthe1();
}
public void labyrinthe1() {
Arme arme=new Arme("épée en bois",5,10,2);
listeArme.add(arme);
Arme arme1=new Arme("épée en acier",15,10,4);
listeArme.add(arme1);
Arme arme2=new Arme("épée en acier solide",25,20,4);
listeArme.add(arme2);
Arme arme3=new Arme("épée de cristal",30,5,7);
listeArme.add(arme3);
Arme arme4=new Arme("Lame Blanche",200,30,10);
listeArme.add(arme4);
Armure armure1=new Armure("armure de cuir",10,10,5);
listeArmure.add(armure1);
Armure armure=new Armure("armure en papier",5,5,2);
listeArmure.add(armure);
Armure armure2=new Armure("armure de fer",30,10,5);
listeArmure.add(armure2);
Armure armure3=new Armure("Le kevlar",150,15,8);
listeArmure.add(armure3);
Personnage perso=new Personnage("Aramis",10,1,null);
listePersonnage.add(perso);
Personnage perso2=new Personnage("Boromis",8,2,null);
listePersonnage.add(perso2);
Marche marche = new Marche();
}
/*switch (nInstance)
case 1 :
return Labyrinthe1();
break;
}*/
labyrinthe1();
}
public void labyrinthe1() {
Arme arme=new Arme("Epee en bois",5,10,2);
listeArme.add(arme);
Arme arme1=new Arme("Epee en acier",15,10,4);
listeArme.add(arme1);
Arme arme2=new Arme("Epee en acier solide",25,20,4);
listeArme.add(arme2);
Arme arme3=new Arme("Epee de cristal",30,5,7);
listeArme.add(arme3);
Arme arme4=new Arme("Lame Blanche",200,30,10);
listeArme.add(arme4);
Armure armure1=new Armure("armure de cuir",10,10,5);
listeArmure.add(armure1);
Armure armure=new Armure("armure en papier",5,5,2);
listeArmure.add(armure);
Armure armure2=new Armure("armure de fer",30,10,5);
listeArmure.add(armure2);
Armure armure3=new Armure("Le kevlar",150,15,8);
listeArmure.add(armure3);
Personnage perso=new Personnage("Aramis",10,1);
listePersonnage.add(perso);
Personnage perso2=new Personnage("Boromis",8,2);
listePersonnage.add(perso2);
Monstre mons = new Monstre("pantin en bois",5, 1);
Monstre mons2= new Monstre("araignee geante agressive", 7, 5);
Monstre mons3=new Monstre("pantin de fer",40,1);
Monstre mons4 = new Monstre("Golem de Jade",40, 3);
Monstre mons5 = new Monstre("Neltharion le Gardeterre",100,10);
Monstre mons6 = new Monstre("Neltharion, le Destructeur", 80,20);
this.listeMonstre.add(mons);
this.listeMonstre.add(mons2);
this.listeMonstre.add(mons3);
this.listeMonstre.add(mons4);
this.listeMonstre.add(mons5);
this.listeMonstre.add(mons6);
Marche marche = new Marche(null);
List<Integer>table=new ArrayList<Integer>();
Random rd= new Random();
for (int i = 0; i<rd.nextInt(this.listeMonstre.size());i++) {
table.add(rd.nextInt(this.listeMonstre.size()));
}
Salle salle1 = new Salle(1,0,false,table);
Porte po = new Porte(true,marche,salle1);
listePorte.add(po);
List<Integer>table2=new ArrayList<Integer>();
for (int i = 0; i<rd.nextInt(this.listeMonstre.size());i++) {
table2.add(rd.nextInt(this.listeMonstre.size()));
}
Salle salle2 = new Salle(0,1,false, table2);
Porte po2= new Porte(true,marche,salle2);
listePorte.add(po2);
List<Integer>table3=new ArrayList<Integer>();
for (int i = 0; i<rd.nextInt(this.listeMonstre.size());i++) {
table3.add(rd.nextInt(this.listeMonstre.size()));
}
Salle salle3 = new Salle(1,1,false, table3);
Porte po3= new Porte(true,salle3,salle2);
listePorte.add(po3);
List<Integer>table4=new ArrayList<Integer>();
for (int i = 0; i<rd.nextInt(this.listeMonstre.size());i++) {
table4.add(rd.nextInt(this.listeMonstre.size()));
}
Salle salle4 = new Salle(2,0,false, table4);
Porte po4= new Porte(true,salle4,salle1);
listePorte.add(po4);
List<Integer>table5=new ArrayList<Integer>();
for (int i = 0; i<rd.nextInt(this.listeMonstre.size());i++) {
table5.add(rd.nextInt(this.listeMonstre.size()));
}
Salle salle5 = new Salle(2,1,true, table5);
Porte po5= new Porte(true,salle4,salle5);
listePorte.add(po5);
Porte po6= new Porte(true,salle5,salle3);
listePorte.add(po6);
}
}

View File

@ -3,6 +3,7 @@
*/
package modeles;
import java.util.ArrayList;
import java.util.List;
/**
@ -10,10 +11,12 @@ import java.util.List;
*
*/
public class Marche extends Salle {
public Marche(int positionX, int positionY, boolean sortie, List listeEnnemie, List listePorte) {
super(positionX, positionY, sortie, listeEnnemie, listePorte);
private List<Integer> listeObjet=new ArrayList<Integer>();
public Marche(List<Integer> listeEnnemie) {
super(0,0, false, listeEnnemie);
// TODO Auto-generated constructor stub
}
//methode pour enregistrer la liste objet (il faudra sans doute changer le type de listeObjet) settingListeObjet(Labyrinthe lab)
}

View File

@ -1,56 +1,53 @@
/**
*
*/
package modeles;
/**
* @author nicolas
*
*/
import java.util.Random;
public class Menu {
public String menuCombat(Monstre mons, Personnage perso) {
int degat;
int reponse = 0;
System.out.println("Un monstre du nom de "+mons.getNom()+" se présente devant vous et il est très en colère :");
while (true){
System.out.println("\t - 1° attaquer\n\t - 2° Potion \n\t- 3° Fuir");
reponse=Clavier.entrerClavierInt();
switch (reponse) {
case 1:
degat = perso.attaquer(mons);
System.out.println("Vous avez infligé "+degat+" à votre adversaire.");
if (!mons.isVivant()) {
perso.salle.cle();
return "Votre ennemie trépasse et vous obtenez la clé des portes de la salle.";
} else {
System.out.println("Au tour de votre adversaire. Il attaque préparez vous ! ");
System.out.println("il vous inflige "+ mons.attaquer(perso)+".");
if (!perso.isVivant()) {
return "C'est ainsi que vous trépassez sous les coups des ténèbres. Reposez vous héros... Vous avez l'éternité.";
}
else System.out.println("votre ennemie n'est pas encore à bout achever le !");
}
break;
case 2 :
if (!perso.getPotion().isEmpty()) {
perso.utiliser(perso.getPotion().remove(0));
System.out.println("Vous avez utilisé une potion. Votre vie est maintenant au maximum.");
} else {
System.out.println("Il ne vous reste plus de potion. Désolé.");
}
break;
case 3 :
System.out.println("Vous tentez de fuir.");
Random rd = new Random();
if (rd.nextInt(100)<50) {
return "Vous avez fuit.";
} else {
System.out.println("Ce fut un échec !");
}
}
}
}s
int degat;
int reponse = 0;
System.out.println("Un monstre du nom de "+mons.getNom()+" se présente devant vous et il est très en colère :");
while (true){
System.out.println("\t - 1° attaquer\n\t - 2° Potion \n\t- 3° Fuir");
reponse=Clavier.entrerClavierInt();
switch (reponse) {
case 1:
degat = perso.attaquer(mons);
System.out.println("Vous avez infligé "+degat+" à votre adversaire.");
if (!mons.isVivant()) {
perso.salle.cle();
System.out.println(perso.obtenirBourse());
return "Votre ennemie trépasse et vous obtenez la clé des portes de la salle.";
} else {
System.out.println("Au tour de votre adversaire. Il attaque préparez vous ! ");
System.out.println("il vous inflige "+ mons.attaquer(perso)+".");
if (!perso.isVivant()) {
return "C'est ainsi que vous trépassez sous les coups des ténèbres. Reposez vous héros... Vous avez l'éternité.";
}
else System.out.println("votre ennemie n'est pas encore à bout achever le !");
}
break;
case 2 :
if (!perso.getPotion().isEmpty()) {
perso.utiliser(perso.getPotion().remove(0));
System.out.println("Vous avez utilisé une potion. Votre vie est maintenant au maximum.");
} else {
System.out.println("Il ne vous reste plus de potion. Désolé.");
}
break;
case 3 :
System.out.println("Vous tentez de fuir.");
Random rd = new Random();
if (rd.nextInt(100)<50) {
return "Vous avez fuit.";
} else {
System.out.println("Ce fut un échec !");
}
}
}
}
}

View File

@ -8,27 +8,23 @@ package modeles;
*
*/
public class Monstre extends EtreVivant {
/**
* @param arme
* @param armure
* @param bourse
*/
public Monstre(String nom, int pAttaque) {
super(nom, 5, pAttaque);
public Monstre(String nom,int pVimax, int pAttaque) {
super(nom, pVimax, pAttaque);
}
public Monstre() {
}
/*
public int attaquer(Personnage def) {
int pAttaqueLoc;
pAttaqueLoc=this.getpAttaque()-(def.getArmure().getpArmure());
def.pVie=pAttaqueLoc;
return pAttaqueLoc;
}*/
}

View File

@ -1,16 +1,13 @@
package modeles;
/**
* @author flavien
*
*/
public abstract class Objet {
private String nom;
private int prix;
private int usure;
private Personnage proprietaire;
public Objet() {}
public Objet(String nm, int valeur, int resistance) {
this.nom=nm;
this.prix=valeur;
@ -29,9 +26,9 @@ public abstract class Objet {
return this.usure;
}
public void utilisation() { // diminue la r<EFBFBD>sistance de l'objet
public void utilisation() { // diminue la résistance de l'objet
this.usure--;
if (this.usure == 0) System.out.println(this.nom+"s'est cass<EFBFBD>e !");
if (this.usure == 0) System.out.println(this.nom+"s'est cassée !");
}
public abstract String getType();
@ -48,3 +45,4 @@ public abstract class Objet {
this.proprietaire=null;
}
}

View File

@ -1,85 +1,98 @@
package modeles;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class Personnage extends EtreVivant {
private Arme arme;
private Armure armure;
private Bourse bourse;
private List<Potion> listepotion= new ArrayList<Potion>();
public Personnage(String nom, int pVieMax,int pAttaque, Salle salle) {
super(nom, pVieMax, pAttaque, salle);
}
public void equiper(Arme arme) {
arme.setProprietaire(this);
this.arme=arme;
}
private Arme arme;
private Armure armure;
private Bourse bourse;
private List<Potion> listepotion= new ArrayList<Potion>();
public Personnage(String nom, int pVieMax,int pAttaque) {
super(nom, pVieMax, pAttaque);
}
public void equiper(Arme arme) {
arme.setProprietaire(this);
this.arme=arme;
}
public void equiper(Armure armure) {
armure.setProprietaire(this);
this.armure=armure;
}
public void utiliser(Potion potion) {
soin();
}
public void seDeplacer(Salle salle) {
this.salle=salle;
}
public void allerMarche(Salle marche){
this.salle=marche;
}
public List<Potion> getPotion() {
return this.listepotion;
}
public void gagnerUnePotion() {
Potion potion=new Potion(100);
listepotion.add(potion);
}
public void soin() {
this.pVie=this.pVieMax;
}
public int attaquer(Monstre monstre) {
if(arme!=null) {
monstre.pVie=monstre.pVie-(arme.getpArme()+getpAttaque());
return arme.getpArme()+getpAttaque();
}
else {
monstre.pVie=monstre.pVie=getpAttaque();
return getpAttaque();
}
}
public Bourse getBourse() {
return this.bourse;
}
armure.setProprietaire(this);
this.armure=armure;
}
public void utiliser(Potion potion) {
soin();
}
public void seDeplacer(Salle salle) {
this.salle=salle;
}
public void allerMarche(Salle marche){
this.salle=marche;
}
public List<Potion> getPotion() {
return this.listepotion;
}
public void gagnerUnePotion() {
Potion potion=new Potion(100);
listepotion.add(potion);
}
public void soin() {
this.pVie=this.pVieMax;
}
public int attaquer(Monstre monstre) {
if(arme!=null) {
monstre.pVie=monstre.pVie-(arme.getpArme()+getpAttaque());
return arme.getpArme()+getpAttaque();
}
else {
monstre.pVie=monstre.pVie=getpAttaque();
return getpAttaque();
}
}
public Bourse getBourse() {
return this.bourse;
}
public void getValeurBourse() {
System.out.println(this.getBourse().getValeur());
}
/* @return the arme
*/
public Arme getArme() {
return arme;
}
public int getValeurBourse() {
return this.getBourse().getValeur();
}
/**
* @return the arme
*/
public Arme getArme() {
return arme;
}
public String obtenirBourse() {
Random rd = new Random();
this.bourse.fusionBourse(new Bourse(rd.nextInt(20)));
String str="Vous avez gagnez une bourse. Vous comptez vos pièces... Genial !! Vous avez désormais ".concat(String.valueOf(this.getValeurBourse()).concat(" pièces d'argent !"));
return str;
}
/**
* @return the armure
*/
public Armure getArmure() {
return armure;
}
public void soin(int heal) {
if (pVie+heal > pVieMax)pVie=pVieMax;
else pVie+=heal;
}
}
/* @return the armure
*/
public Armure getArmure() {
return armure;
}
public void soin(int heal) {
if (pVie+heal > pVieMax)pVie=pVieMax;
else pVie+=heal;
}
}

View File

@ -1,44 +1,42 @@
/**
*
*/
package modeles;
import java.util.ArrayList;
/**
/*
* @author flavien
*
*/
public class Porte {
private int id;
private boolean ouvert;
private Salle salle1;
private Salle salle2;
public Porte() {
}
public Porte(int id,boolean ouvert, Salle salle,Salle salle2) {
super();
this.ouvert = ouvert;
this.salle1 = salle;
this.salle2 = salle2;
this.id=id;
}
private int id =0;
private boolean ouvert;
private Salle salle1;
private Salle salle2;
public Porte() {
}
public Porte(boolean ouvert, Salle salle,Salle salle2) {
super();
this.ouvert = ouvert;
this.salle1 = salle;
this.salle2 = salle2;
this.id++;
}
public boolean estOuverte() {
return ouvert;
}
public int getId(){
return this.id;
public void ouverture() {
this.ouvert= true;
}
public Salle prochainSaut(Salle s) {
if (s==this.salle1) {
return salle2;
} else return salle1;
}
/**
* @param ouvert
* @param orientation
*/
public int getId() {
return this.id;
}
}

View File

@ -8,6 +8,7 @@ package modeles;
*
*/
public class Potion extends Objet {
public String getType() {
return "Potion";
}

View File

@ -1,66 +1,52 @@
package modeles;
import java.util.ArrayList;
import java.util.List;
import javafx.util.Pair;
/**
* @author flavien
*
*/
public class Salle {
public static int positionX;
/**
* @param positionX
* @param positionY
* @param sortie
* @param listeEnnemie
* @param listePorte
*/
public Salle(int positionX, int positionY, boolean sortie, List<Integer> listeEnnemie) {
this.positionX=positionX;
this.positionY = positionY;
this.sortie = sortie;
this.listeEnnemie = listeEnnemie;
}
public Salle(int positionX, int positionY, boolean sortie, List<Integer> listeEnnemie, Porte sal) {
this.positionX = positionX;
this.positionY = positionY;
this.sortie = sortie;
this.listeEnnemie = listeEnnemie;
this.listePorte.add(sal.getId());
}
public Salle() {
private Pair<Integer,Integer> coordonnees;
private boolean sortie;
private List<Porte> listePorte= new ArrayList<Porte>();
private List<Integer> listeEnnemie= new ArrayList<Integer>(); //indice de monstre
public Salle(int x, int y, boolean out) {
this.coordonnees=new Pair<Integer,Integer>(x,y);
this.sortie=out;
}
public Salle(int positionX, int positionY, boolean sortie, List<Integer> listeEnnemie) {
this.coordonnees=new Pair<Integer,Integer>(positionX,positionY);
this.sortie = sortie;
this.listeEnnemie = listeEnnemie;
}
private static int positionY;
private static boolean sortie;
private static List<Integer> listeEnnemie= new ArrayList<Integer>();
private static List<Integer> listePorte = new ArrayList<Integer>();
public String getType(){
return "salle";
}
public int getPositionX() {
return positionX;
public Pair<Integer,Integer> getCoordonnes() {
return this.coordonnees;
}
public int getPositionY() {
return positionY;
}
public boolean estSortie() {
return sortie;
}
public void cle() {
if (listeEnnemie.isEmpty()) {
for (Porte p : listePorte) {
p.ouverture();
}
}
}
public boolean estVide() {
return listeEnnemie.isEmpty();
}
}

View File

@ -0,0 +1,17 @@
package modeles;
public class main {
/*public static void main(String[] args) {
Generateur gene = new Generateur();
Labyrinthe lab = gene.labyrithe();
//lab.getListeSalle();
Arme arme = new Arme("arme1", 10, 10, 10);
System.out.println("");
}*/
}