mirror of
https://github.com/guezoloic/L3-racing-game.git
synced 2026-03-28 19:13:41 +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();
|
||||
}
|
||||
|
||||
/**
|
||||
* Retourne la taille de la map en largueur.
|
||||
*
|
||||
* @return Nombre de {@link Cell} sur une largueur
|
||||
*/
|
||||
public int getWidth()
|
||||
{
|
||||
return this.width;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Retourne la taille de la map en longueur.
|
||||
*
|
||||
* @return Nombre de {@link Cell} sur une longueur
|
||||
*/
|
||||
public int getHeight()
|
||||
{
|
||||
return this.height;
|
||||
|
||||
Reference in New Issue
Block a user