Skip to content
Snippets Groups Projects
Commit 057e79f5 authored by LE-CUDENEC JOFFREY's avatar LE-CUDENEC JOFFREY
Browse files

Ajout de la documentation

parent b40b9c5d
1 merge request!86Ajout de documentation
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
using Mapbox.Utils; using Mapbox.Utils;
using Mapbox.Directions; using Mapbox.Directions;
using Mapbox.Unity; using Mapbox.Unity;
using Mapbox.Json;
using Mapbox.Utils.JsonConverters;
using Mapbox.Unity.Map; using Mapbox.Unity.Map;
using Mapbox.Unity.Utilities; using Mapbox.Unity.Utilities;
...@@ -53,6 +51,7 @@ ...@@ -53,6 +51,7 @@
//! @brief Retourne l'instance //! @brief Retourne l'instance
//! @details return @a instance //! @details return @a instance
//! @return @e WaypointsFactory Instance actuelle.
public static WaypointsFactory getInstance() public static WaypointsFactory getInstance()
{ {
return instance; return instance;
...@@ -84,7 +83,7 @@ ...@@ -84,7 +83,7 @@
_directions.Query(_directionResource, HandleDirectionsResponse); _directions.Query(_directionResource, HandleDirectionsResponse);
} }
//! @param res Réponse de la direction.
//! @brief Enregistre les informations //! @brief Enregistre les informations
//! @details Enregistre les informations en format json deserialize //! @details Enregistre les informations en format json deserialize
void HandleDirectionsResponse(DirectionsResponse res) void HandleDirectionsResponse(DirectionsResponse res)
...@@ -93,7 +92,8 @@ ...@@ -93,7 +92,8 @@
test = false; test = false;
} }
//! @param coord1 Coordonnée 1
//! @param coord2 Coordonnée 2
//! @brief Lance la création de route //! @brief Lance la création de route
//! @details Lance la création de route //! @details Lance la création de route
public void click(string coord1, string coord2) public void click(string coord1, string coord2)
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
//! @brief Lance la création de route //! @brief Lance la création de route
//! @details Lance la création de route //! @details Lance la création de route
//! @return @e IEnumerator Permet d'assigner un délai à la répétition de la coroutine.
IEnumerator createRoad() IEnumerator createRoad()
{ {
if (coordonnee1 == "" || coordonnee2 == "") if (coordonnee1 == "" || coordonnee2 == "")
...@@ -137,7 +138,7 @@ ...@@ -137,7 +138,7 @@
} }
} }
//! @param coordonnesPoints Coordonnées du point à ajouter.
//! @brief Enregistre un waypoints //! @brief Enregistre un waypoints
//! @details Enregistre les coordonnées d'un waypoints //! @details Enregistre les coordonnées d'un waypoints
void PlacementWaypoint(Vector2d coordonnesPoints) void PlacementWaypoint(Vector2d coordonnesPoints)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment