You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
R-Dash_Application/R-Dash/core/Lap.ts

35 lines
650 B

import { Point } from "./Point";
export class Lap {
private number : number;
private points: Point[];
private time: number;
constructor(number: number,points: Point[], time: number) {
this.number = number;
this.points = points;
this.time = time;
}
getNumber(){
return this.number;
}
setNumber(number :number){
this.number = number;
}
getPoints() {
return this.points;
}
setPoints(points: Point[]) {
this.points = points;
}
getTime() {
return this.time;
}
setTime(time: number) {
this.time = time;
}
}