Code covered by the BSD License  

Highlights from
Chess with "Greedy Edi"

image thumbnail
from Chess with "Greedy Edi" by Wolfgang Garn
Play chess against "Greedy Edi".

setFiguresPosition

setFiguresPosition

setFiguresPosition Set the position of a chess figure.

Contents

Syntax

setFiguresPosition(handle,to)

Description

The position of a given chess figure is set.

Inputs:

  • handle ... handle to the chess figure
  • to ... position in matrix notation

Outputs:

  • Changes the chess figures position a specified

Example

Assume a figure with "handle" should be placed at [2 3]. The command setFiguresPosition(handle,[2 3]) manages that.

See also

show

Signature

  • Copyright 2006 W.Garn

Contact us at files@mathworks.com