Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Pos

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Pos(kx: number, ky: number): Pos
  • 一般的な棋譜記法における座標を初期入力とする

    Parameters

    • kx: number

      一般的な棋譜記法におけるy座標 7六歩の「7」

    • ky: number

      一般的な棋譜記法におけるy座標 7六歩の「六」

    Returns Pos

Properties

Private _ax

_ax: number

Private _ay

_ay: number

Private _kx

_kx: number

Private _ky

_ky: number

Accessors

ax

ax:

盤面配列上のx座標

ay

ay:

盤面配列上のy座標

x

x:

棋譜上のx座標

y

y:

棋譜上のy座標

Methods

reverse

  • reverse(): Pos
  • 盤面を反転した場合の棋譜座標を返す

    Returns Pos

Static inRange

  • inRange(kx: number, ky: number): boolean
  • その座標が盤面の範囲内か調べる

    Parameters

    • kx: number
    • ky: number

    Returns boolean

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