11 lines
261 B
TypeScript
11 lines
261 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
|
|
) {}
|
|
}
|