Interface GobanCanvasInterface

interface GobanCanvasInterface {
    engine: GobanEngine;
    move_tree_container?: HTMLElement;
    clearAnalysisDrawing(): void;
    clearMessage(): void;
    destroy(): void;
    disablePen(): void;
    drawPenMarks(pen_marks): void;
    drawSquare(i, j): void;
    enablePen(): void;
    move_tree_bindCanvasEvents(canvas): void;
    move_tree_redraw(no_warp?): void;
    setByoYomiLabel(label): void;
    setLastMoveOpacity(opacity): void;
    setMoveTreeContainer(container): void;
    showMessage(message_id_or_error, parameters?, timeout?): void;
}

Implemented by

Properties

engine: GobanEngine
move_tree_container?: HTMLElement

Methods

  • Parameters

    • message_id_or_error: MessageID
    • Optional parameters: {
          [key: string]: any;
      }
      • [key: string]: any
    • Optional timeout: number

    Returns void