added documentation

This commit is contained in:
didier amyot committed 2023-12-15 09:20:58 -05:00
1 parent d8fac33b96
commit 1e7c3b5fbf
1 file changed
+9
+9
View File
@@ -13,10 +13,19 @@ export class Point{
this.#x = x;
this.#y = y;
}
/**
* Retoure la coordonée X du point.
* @returns {number}
*/
getX(){
return this.#x;
}
/**
* Retoure la coordonée Y du point.
* @returns {number}
*/
getY(){
return this.#y;
}