Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Move

Index

Constructors

constructor

Properties

Private _captureNum

_captureNum: number | null = null

Private _color

_color: number = PLAYER.SENTE

Private _comments

_comments: Array<string> | null = null

Private _from

_from: Pos | null = null

Private _isPromote

_isPromote: boolean = false

Private _isPut

_isPut: boolean = false

Private _komaNum

_komaNum: number = KOMA.NONE

Private _moveObj

_moveObj: MoveObject

Private _name

_name: string = "初期配置"

Private _to

_to: Pos | null = null

Accessors

boardObj

boardObj:

盤面に配置する際の盤面オブジェクトを返す。成る動きの場合は成り駒を返す

captureNum

captureNum:

取得した駒の番号を返す。その駒が成っている場合成り元の駒を返す。

color

color:

comments

comments:

from

from:

isPut

isPut:

komaNum

komaNum:

moveObj

moveObj:

name

name:

pureCaptureNum

pureCaptureNum:

to

to:

Methods

addComment

  • addComment(comment: string): void
  • コメントを追加する

    Parameters

    • comment: string

    Returns void

Private getMoveName

  • 指し手オブジェクトから指し手の名前を返す

    Parameters

    Returns string

removeComment

  • removeComment(): 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