mirror of
https://github.com/guezoloic/racing-game.git
synced 2026-03-28 18:03:50 +00:00
feat(Map.java): ajout commentaire
This commit is contained in:
11
src/Map.java
11
src/Map.java
@@ -287,11 +287,22 @@ public class Map
|
|||||||
return this.pathMap.size();
|
return this.pathMap.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retourne la taille de la map en largueur.
|
||||||
|
*
|
||||||
|
* @return Nombre de {@link Cell} sur une largueur
|
||||||
|
*/
|
||||||
public int getWidth()
|
public int getWidth()
|
||||||
{
|
{
|
||||||
return this.width;
|
return this.width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Retourne la taille de la map en longueur.
|
||||||
|
*
|
||||||
|
* @return Nombre de {@link Cell} sur une longueur
|
||||||
|
*/
|
||||||
public int getHeight()
|
public int getHeight()
|
||||||
{
|
{
|
||||||
return this.height;
|
return this.height;
|
||||||
|
|||||||
Reference in New Issue
Block a user