UNPKG

@logic-pad/core

Version:
31 lines (30 loc) 1.1 kB
import { AnyConfig } from '../config.js'; import GridData from '../grid.js'; import { Orientation, State } from '../primitives.js'; import DirectionLinkerSymbol from './directionLinkerSymbol.js'; export default class LotusSymbol extends DirectionLinkerSymbol { readonly x: number; readonly y: number; readonly orientation: Orientation; readonly title = "Lotus"; private static readonly linkedDirectionsFromOrientation; /** * **Areas containing this symbol must be symmetrical** * * @param x - The x-coordinate of the symbol. * @param y - The y-coordinate of the symbol. * @param orientation - The orientation of the symbol. */ constructor(x: number, y: number, orientation: Orientation); get id(): string; get explanation(): string; get configs(): readonly AnyConfig[] | null; createExampleGrid(): GridData; validateSymbol(grid: GridData): State; copyWith({ x, y, orientation, }: { x?: number; y?: number; orientation?: Orientation; }): this; } export declare const instance: LotusSymbol;