Grampus


Piece Module

Namespace: Grampus

Assembly: GrampusLib.dll

Holds the functions related to a Piece.

Functions and values

Function or value Description

ToStr piece

Full Usage: ToStr piece

Parameters:
    piece : Piece - The piece, such as Piece.WKnight.

Returns: string The result as a string, such as N.

Gets the string symbol for a Piece.

piece : Piece

The piece, such as Piece.WKnight.

Returns: string

The result as a string, such as N.