Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7edf62204e | ||
|
|
1e7c3b5fbf |
No files matched your search
@@ -169,7 +169,7 @@ export class HockeyPlayerStatistics {
|
||||
* Set the total number of goal scored by the player
|
||||
* @param {number} goals
|
||||
*/
|
||||
setNumberOfGoals(goals){
|
||||
setNumberOfGoals(numberOfGoals){
|
||||
this.numberOfGoals = numberOfGoals
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user