Staquia API
    Preparing search index...

    Interface ICrafter

    The classes a system uses to create empty numbers and positions, see IStaquiaOptions.

    interface ICrafter {
        number: new () => IDigits;
        position: new () => IPosition;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    number: new () => IDigits

    The class of the numbers (Digits by default). The system creates its instances with new and then initializes their digits, bounds and map.

    position: new () => IPosition

    The class of the positions (Position by default). The system creates its instances with new and then sets their n, z and length.