Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • JkfEditor

Index

Constructors

constructor

Properties

Private editor

editor: Editor

Accessors

board

board:

comment

comment:

currentNum

currentNum:

hands

hands:

isFork

isFork:

lastMove

lastMove:

nextMoves

nextMoves:

Methods

addBoardMove

  • addBoardMove(fromX: number, fromY: number, toX: number, toY: number, promote?: boolean, comment?: Array<string> | string | null): void
  • Parameters

    • fromX: number
    • fromY: number
    • toX: number
    • toY: number
    • Default value promote: boolean = false
    • Default value comment: Array<string> | string | null = null

    Returns void

addComment

  • addComment(comment: string): void

addHandMove

  • addHandMove(komaString: string, toX: number, toY: number, comment?: Array<string> | string | null): void
  • Parameters

    • komaString: string
    • toX: number
    • toY: number
    • Default value comment: Array<string> | string | null = null

    Returns void

dispKifuMoves

  • dispKifuMoves(): string

dispNextMoves

  • dispNextMoves(): string

export

getKomaMoves

  • getKomaMoves(fromX: number, fromY: number): Array<Array<number>>
  • Parameters

    • fromX: number
    • fromY: number

    Returns Array<Array<number>>

getMovables

  • getMovables(): number[][]

go

  • go(newNum: number): void

resetComment

  • resetComment(): void

switchFork

  • switchFork(forkIndex: number): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc