8 lines
230 B
TypeScript
8 lines
230 B
TypeScript
import {PointInterface} from "./PointInterface";
|
|
|
|
export class Point implements PointInterface{
|
|
constructor(public x : number, public y : number, public direction : string = "none", public moving : boolean = false) {
|
|
}
|
|
}
|
|
|