Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider eedb366e rédigé par Jean-Marc PIQUE's avatar Jean-Marc PIQUE
Parcourir les fichiers

Deleted .idea/libraries/lib.xml, .idea/.gitignore, .idea/.name,...

Deleted .idea/libraries/lib.xml, .idea/.gitignore, .idea/.name, .idea/battleship-student-project-2021.iml, .idea/misc.xml, .idea/modules.xml, .idea/vcs.xml, documentation/javadoc/index-files/index-1.html, documentation/javadoc/index-files/index-10.html, documentation/javadoc/index-files/index-11.html, documentation/javadoc/index-files/index-12.html, documentation/javadoc/index-files/index-13.html, documentation/javadoc/index-files/index-14.html, documentation/javadoc/index-files/index-15.html, documentation/javadoc/index-files/index-16.html, documentation/javadoc/index-files/index-2.html, documentation/javadoc/index-files/index-3.html, documentation/javadoc/index-files/index-4.html, documentation/javadoc/index-files/index-5.html, documentation/javadoc/index-files/index-6.html, documentation/javadoc/index-files/index-7.html, documentation/javadoc/index-files/index-8.html, documentation/javadoc/index-files/index-9.html, documentation/javadoc/info1/network/BadIdException.html, documentation/javadoc/info1/network/Game.html, documentation/javadoc/info1/network/Network.html, documentation/javadoc/info1/network/Player.html, documentation/javadoc/info1/network/package-frame.html, documentation/javadoc/info1/network/package-summary.html, documentation/javadoc/info1/network/package-tree.html, documentation/javadoc/info1/ships/BadCoordException.html, documentation/javadoc/info1/ships/CoordsBadShipException.html, documentation/javadoc/info1/ships/ICoord.html, documentation/javadoc/info1/ships/INavyFleet.html, documentation/javadoc/info1/ships/IShip.html, documentation/javadoc/info1/ships/ShipCategory.html, documentation/javadoc/info1/ships/UncompleteFleetException.html, documentation/javadoc/info1/ships/package-frame.html, documentation/javadoc/info1/ships/package-summary.html, documentation/javadoc/info1/ships/package-tree.html, documentation/javadoc/allclasses-frame.html, documentation/javadoc/allclasses-noframe.html, documentation/javadoc/constant-values.html, documentation/javadoc/help-doc.html, documentation/javadoc/index.html, documentation/javadoc/overview-frame.html, documentation/javadoc/overview-summary.html, documentation/javadoc/overview-tree.html, documentation/javadoc/package-list, documentation/javadoc/script.js, documentation/javadoc/serialized-form.html, documentation/javadoc/stylesheet.css, documentation/.DS_Store, documentation/HowtoUseNetwork.md, documentation/package_network.png, documentation/package_ships.png, img/ .jpg, img/.DS_Store, img/.gitkeep, img/.jpg, img/French_battleship_Brennus_NH_64443.jpg, img/a.gif, img/azurain.png, img/crois.png, img/cuir.png, img/gifGoMenu.gif, img/logo.png, img/minilog.png, img/sous.png, img/torp.png, img/unnamed.jpg, lib/battleship-library-1.0.jar, src/controleur/.DS_Store, src/controleur/ButtonCreateFleetControleur.java, src/controleur/ButtonGrilleHautControleur.java, src/controleur/ButtonResetFleetControleur.java, src/controleur/CoControleur.java, src/controleur/CreateControleur.java, src/controleur/GoMenuControleur.java, src/controleur/JoinControleur.java, src/controleur/LocalSave.java, src/controleur/PosControleur.java, src/controleur/RefreshControleur.java, src/info1/ships/AircraftCarrier.java, src/info1/ships/Battleship.java, src/info1/ships/Coord.java, src/info1/ships/Cruiser.java, src/info1/ships/Destroyer.java, src/info1/ships/NavyFleet.java, src/info1/ships/Ship.java, src/info1/ships/Submarine.java, src/vue/FenLog.java, src/.DS_Store, src/Appli.java, test/CoordTest.java, test/NavyFleetTest.java, test/RunningGameTest.java, test/ShipTest.java, .DS_Store, .classpath, .gitattributes, .gitignore, .project, README.md, game_infos.json files
parent 81834d11
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Affichage de
avec 0 ajout et 796 suppressions
Fichier supprimé
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="lib" path="lib/battleship-library-1.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
# Auto detect text files and perform LF normalization
* text=auto
/bin/
# Default ignored files
/shelf/
/workspace.xml
FenLog.java
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="module-library" scope="TEST">
<library name="JUnit5.4">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter/5.4.2/junit-jupiter-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.4.2/junit-jupiter-api-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.1.1/opentest4j-1.1.1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.4.2/junit-platform-commons-1.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-params/5.4.2/junit-jupiter-params-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.4.2/junit-jupiter-engine-5.4.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.4.2/junit-platform-engine-1.4.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>
\ No newline at end of file
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="file://$PROJECT_DIR$/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/lib" recursive="false" />
</library>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/battleship-student-project-2021.iml" filepath="$PROJECT_DIR$/.idea/battleship-student-project-2021.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>projet-tutore</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>
# Projet S2 : Bataille Navale
![French_battleship_Brennus_NH_64443](img/French_battleship_Brennus_NH_64443.jpg)
## Présentation rapide
Il va s'agir de développer une application cliente permettant de jouer
en réseau à la bataille navale : https://fr.wikipedia.org/wiki/Bataille_navale_(jeu)
Un serveur de jeu est accessible en ligne sous la forme d'une API Rest
(http://37.187.38.219/api/v0) et une librairie Java
interfaçant le serveur vous est fournie (en partie).
## Travail à faire
### initialisation du projet
1. créez un git spécifique à votre groupe sur le gitlab de l'université :
https://gitlab.univ-nantes.fr/
2. ajoutez comme "maintainer" votre enseignant-référent et M. Arnaud Lanoix
3. déposez sur votre git, l'ensemble des sources récupérées ici :
https://gitlab.univ-nantes.fr/iut.info1.project/battleship-student-project-2021/-/archive/master/battleship-student-project-2021-master.zip
OU faites un fork de ce dépot.
**Vous respecterez la structure imposée en terme de dossiers/paquetages**
NB :le source récupéré contient un repertoire lib/
contenant une archive jar `battleship-library-1.x.jar`
il faut ajouter ce .jar comme une librairie dans votre IDE préféré
il s'agit de code qui vous est fourni, que vous devrez utiliser
mais que vous ne pouvez pas modifier
### implémentation de `ships.*`
2. il vous faut (terminer de) développer le modèle de données représentant
la flotte de bateaux ; pour cela, il vous faut coder
les classes suivantes (dans `src/info1/ships/`) :
* `Coord` implémentant `ICoord`
* `Ship` implémentant `IShip` et (si nécessaire) modifier les classes "filles" fournies
* `NavyFleet` implémentant `INavyFleet`
Les interfaces à implémenter sont présentes dans `battleship-library-1.x.jar` ;
elles sont sont documentées dans la javadoc fournie (documentation/javadoc).
NB :des cas de tests écrit en Junit 5.4 vous
permettront de valider votre implémentation :
* `CoordTest`
* `NavyFleetTest`
* `ShipTest`
![package ships](documentation/package_ships.png)
### utilisation de `info1.network.Network` ...
vous pouvez maintenant utiliser la classe `Network` pour échanger avec le serveur,
càd créer ou rejoindre une partie, puis jouer, càd effectuer un tir
sur une coordonnée précise.
![package network](documentation/package_network.png)
La classe `Network` est documentée dans la javadoc fournie (documentation/javadoc).
Plus de détail sur l'usage de la classe Network dans ![HowToUseNetwork](documentation/HowtoUseNetwork.md).
La classe de tests `RunningGameTest` illustre également l'utilisation de `info1.network.Network` ; elle devrait
fonctionner une fois que vous avez correctement implémenter les classes du package `ships.*`.s
### ... et développement d'une interface graphique
Développez une interface graphique en Swing vous permettant de jouer, cad
1. positionner des bateaux
2. créer une flotte de bateaux
3. initialiser une partie sur le serveur
4. rejoindre une partie initialisée sur le serveur
5. jouer via le serveur
6. gagner ;-)
## Remarques
Chaque groupe aura un enseignant-référent qui passera
vous voir régulièrement afin de vous assister
mais aussi évaluer votre travail.
_Image du bateau issue de https://en.wikipedia.org/wiki/French_battleship_Brennus_
Fichier supprimé
# Documentation de **Network**
La serveur de jeu est un serveur REST disponible à l'adresse suivante :
http://37.187.38.219/api/v0
La logique d'échange est la suivante :
## 1ere phase : initialisation
Des joueurs s'inscrivent sur le serveur via
`Network.suscribeNewPlayer(...)`
On peut lister les joueurs déjà inscrits via
`Network.listActivePlayers(...)`
Des joueurs initient des parties sur le serveur via
`Network.initNewGame(...)`
On peut lister les parties initialisées via
`Network.listInitializedGames(...)`
Un joueur peut rejoindre une partie initialisée
`Network.joinGame(...)`
alors la phase de jeu commence...
## 2ième phase : dérouler d'une partie
A tour de rôle les deux joueurs de la partie vont pouvoir jouer.
Avant de jouer, il faut vérifier l'état de la partie via
`Network.getInfo(...)`
Puis on peut jouer si c'est à notre tour via
`Network.playOneTurn(...)`
## Les limitations du serveur sont les suivantes
* le joueur qui a initialisé une partie ne sera pas prévenu qu'un joueur
a rejoint sa partie ;
* lorsqu'un joueur a joué l'autre joueur n'est pas prévenu que c'est
à son tour de jouer ;
* lorsqu'un joueur touche (ou coule) un navire adverse,
l'autre joueur n'est pas prévenu ;
* lorsqu'un joueur gagne la partie, l'autre joueur n'est pas
prévenu non plus.
**NB : il faut utiliser `Network.getInfo(...)` pour s'informer
périodiquement de l'état courant de la partie**
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_265) on Fri Jun 18 17:16:24 CEST 2021 -->
<title>All Classes</title>
<meta name="date" content="2021-06-18">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="info1/ships/BadCoordException.html" title="class in info1.ships" target="classFrame">BadCoordException</a></li>
<li><a href="info1/network/BadIdException.html" title="class in info1.network" target="classFrame">BadIdException</a></li>
<li><a href="info1/ships/CoordsBadShipException.html" title="class in info1.ships" target="classFrame">CoordsBadShipException</a></li>
<li><a href="info1/network/Game.html" title="class in info1.network" target="classFrame">Game</a></li>
<li><a href="info1/ships/ICoord.html" title="interface in info1.ships" target="classFrame"><span class="interfaceName">ICoord</span></a></li>
<li><a href="info1/ships/INavyFleet.html" title="interface in info1.ships" target="classFrame"><span class="interfaceName">INavyFleet</span></a></li>
<li><a href="info1/ships/IShip.html" title="interface in info1.ships" target="classFrame"><span class="interfaceName">IShip</span></a></li>
<li><a href="info1/network/Network.html" title="class in info1.network" target="classFrame">Network</a></li>
<li><a href="info1/network/Player.html" title="class in info1.network" target="classFrame">Player</a></li>
<li><a href="info1/ships/ShipCategory.html" title="enum in info1.ships" target="classFrame">ShipCategory</a></li>
<li><a href="info1/ships/UncompleteFleetException.html" title="class in info1.ships" target="classFrame">UncompleteFleetException</a></li>
</ul>
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_265) on Fri Jun 18 17:16:24 CEST 2021 -->
<title>All Classes</title>
<meta name="date" content="2021-06-18">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="info1/ships/BadCoordException.html" title="class in info1.ships">BadCoordException</a></li>
<li><a href="info1/network/BadIdException.html" title="class in info1.network">BadIdException</a></li>
<li><a href="info1/ships/CoordsBadShipException.html" title="class in info1.ships">CoordsBadShipException</a></li>
<li><a href="info1/network/Game.html" title="class in info1.network">Game</a></li>
<li><a href="info1/ships/ICoord.html" title="interface in info1.ships"><span class="interfaceName">ICoord</span></a></li>
<li><a href="info1/ships/INavyFleet.html" title="interface in info1.ships"><span class="interfaceName">INavyFleet</span></a></li>
<li><a href="info1/ships/IShip.html" title="interface in info1.ships"><span class="interfaceName">IShip</span></a></li>
<li><a href="info1/network/Network.html" title="class in info1.network">Network</a></li>
<li><a href="info1/network/Player.html" title="class in info1.network">Player</a></li>
<li><a href="info1/ships/ShipCategory.html" title="enum in info1.ships">ShipCategory</a></li>
<li><a href="info1/ships/UncompleteFleetException.html" title="class in info1.ships">UncompleteFleetException</a></li>
</ul>
</div>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_265) on Fri Jun 18 17:16:24 CEST 2021 -->
<title>Constant Field Values</title>
<meta name="date" content="2021-06-18">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<h2 title="Contents">Contents</h2>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
<li><a href="constant-values.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_265) on Fri Jun 18 17:16:24 CEST 2021 -->
<title>API Help</title>
<meta name="date" content="2021-06-18">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">How This API Document Is Organized</h1>
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<h2>Overview</h2>
<p>The <a href="overview-summary.html">Overview</a> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</p>
</li>
<li class="blockList">
<h2>Package</h2>
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
<ul>
<li>Interfaces (italic)</li>
<li>Classes</li>
<li>Enums</li>
<li>Exceptions</li>
<li>Errors</li>
<li>Annotation Types</li>
</ul>
</li>
<li class="blockList">
<h2>Class/Interface</h2>
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
<ul>
<li>Class inheritance diagram</li>
<li>Direct Subclasses</li>
<li>All Known Subinterfaces</li>
<li>All Known Implementing Classes</li>
<li>Class/interface declaration</li>
<li>Class/interface description</li>
</ul>
<ul>
<li>Nested Class Summary</li>
<li>Field Summary</li>
<li>Constructor Summary</li>
<li>Method Summary</li>
</ul>
<ul>
<li>Field Detail</li>
<li>Constructor Detail</li>
<li>Method Detail</li>
</ul>
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
</li>
<li class="blockList">
<h2>Annotation Type</h2>
<p>Each annotation type has its own separate page with the following sections:</p>
<ul>
<li>Annotation Type declaration</li>
<li>Annotation Type description</li>
<li>Required Element Summary</li>
<li>Optional Element Summary</li>
<li>Element Detail</li>
</ul>
</li>
<li class="blockList">
<h2>Enum</h2>
<p>Each enum has its own separate page with the following sections:</p>
<ul>
<li>Enum declaration</li>
<li>Enum description</li>
<li>Enum Constant Summary</li>
<li>Enum Constant Detail</li>
</ul>
</li>
<li class="blockList">
<h2>Tree (Class Hierarchy)</h2>
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
<ul>
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
</ul>
</li>
<li class="blockList">
<h2>Index</h2>
<p>The <a href="index-files/index-1.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
</li>
<li class="blockList">
<h2>Prev/Next</h2>
<p>These links take you to the next or previous class, interface, package, or related page.</p>
</li>
<li class="blockList">
<h2>Frames/No Frames</h2>
<p>These links show and hide the HTML frames. All pages are available with or without frames.</p>
</li>
<li class="blockList">
<h2>All Classes</h2>
<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
</li>
<li class="blockList">
<h2>Serialized Form</h2>
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
</li>
<li class="blockList">
<h2>Constant Field Values</h2>
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
</li>
</ul>
<span class="emphasizedPhrase">This help file applies to API documentation generated using the standard doclet.</span></div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li class="navBarCell1Rev">Help</li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
<li><a href="help-doc.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_265) on Fri Jun 18 17:16:24 CEST 2021 -->
<title>A-Index</title>
<meta name="date" content="2021-06-18">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="A-Index";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="../overview-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Letter</li>
<li><a href="index-2.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-1.html" target="_top">Frames</a></li>
<li><a href="index-1.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">G</a>&nbsp;<a href="index-6.html">H</a>&nbsp;<a href="index-7.html">I</a>&nbsp;<a href="index-8.html">J</a>&nbsp;<a href="index-9.html">L</a>&nbsp;<a href="index-10.html">N</a>&nbsp;<a href="index-11.html">P</a>&nbsp;<a href="index-12.html">R</a>&nbsp;<a href="index-13.html">S</a>&nbsp;<a href="index-14.html">T</a>&nbsp;<a href="index-15.html">U</a>&nbsp;<a href="index-16.html">V</a>&nbsp;<a name="I:A">
<!-- -->
</a>
<h2 class="title">A</h2>
<dl>
<dt><span class="memberNameLink"><a href="../info1/ships/INavyFleet.html#add-info1.ships.IShip-">add(IShip)</a></span> - Method in interface info1.ships.<a href="../info1/ships/INavyFleet.html" title="interface in info1.ships">INavyFleet</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../info1/network/Player.html#asJSON--">asJSON()</a></span> - Method in class info1.network.<a href="../info1/network/Player.html" title="class in info1.network">Player</a></dt>
<dd>
<div class="block">donne une représentation de l'objet courant sous la forme d'un objet JSON de la forme {"nom":"'player_name'"}</div>
</dd>
<dt><span class="memberNameLink"><a href="../info1/ships/ICoord.html#asJSON--">asJSON()</a></span> - Method in interface info1.ships.<a href="../info1/ships/ICoord.html" title="interface in info1.ships">ICoord</a></dt>
<dd>
<div class="block">donne une représentation de l'objet courant sous la forme d'un objet JSON</div>
</dd>
<dt><span class="memberNameLink"><a href="../info1/ships/INavyFleet.html#asJSON--">asJSON()</a></span> - Method in interface info1.ships.<a href="../info1/ships/INavyFleet.html" title="interface in info1.ships">INavyFleet</a></dt>
<dd>
<div class="block">donne une représentation de l'objet courant sous la forme d'un tableau JSON</div>
</dd>
<dt><span class="memberNameLink"><a href="../info1/ships/IShip.html#asJSON--">asJSON()</a></span> - Method in interface info1.ships.<a href="../info1/ships/IShip.html" title="interface in info1.ships">IShip</a></dt>
<dd>
<div class="block">donne une représentation de l'objet courant sous la forme d'un objet JSON</div>
</dd>
</dl>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">E</a>&nbsp;<a href="index-5.html">G</a>&nbsp;<a href="index-6.html">H</a>&nbsp;<a href="index-7.html">I</a>&nbsp;<a href="index-8.html">J</a>&nbsp;<a href="index-9.html">L</a>&nbsp;<a href="index-10.html">N</a>&nbsp;<a href="index-11.html">P</a>&nbsp;<a href="index-12.html">R</a>&nbsp;<a href="index-13.html">S</a>&nbsp;<a href="index-14.html">T</a>&nbsp;<a href="index-15.html">U</a>&nbsp;<a href="index-16.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="../overview-tree.html">Tree</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Letter</li>
<li><a href="index-2.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-1.html" target="_top">Frames</a></li>
<li><a href="index-1.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter