Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChessBoard ¶
type ChessBoard struct {
// contains filtered or unexported fields
}
func NewChessBoard ¶
func NewChessBoard() *ChessBoard
func (*ChessBoard) Move ¶
func (c *ChessBoard) Move(id, x, y int)
type ChessPiece ¶
type ChessPiece struct { Unit *ChessPieceUnit X int Y int }
type ChessPieceUnit ¶
Click to show internal directories.
Click to hide internal directories.