ku4es-kernel
Version:
kodmunki Utilities for ECMAScript Kernel
14 lines (13 loc) • 516 B
TypeScript
export default class Point extends Coord {
public static canParse(candidate: any): boolean;
public static parse(obj: {}): Point;
public static tryParse(candidate: any): Point | null;
constructor(x: number, y: number);
public isAbove(other: {}): boolean;
public isBelow(other: {}): boolean;
public isLeftOf(other: {}): boolean;
public isRightOf(other: {}): boolean;
public distanceFrom(other: {}): boolean;
public distanceTo(other: {}): boolean;
}
import Coord from './Coord';