from
Chess with "Greedy Edi"
by Wolfgang Garn
Play chess against "Greedy Edi".
|
| setCursor |
setCursor
setCursor sets the cursor on a certain field
Contents
SyntaxsetCursor(on_field) Description
The cursor is set on a certain field. The cursor consists out of a from, to and current information. The old cursor handles
are deleted.
Inputs:
- global cursor ... cursor info. (i.e. from, to, current)
- global layer ... display layer (z axis)
Outputs:
- displays a cursor
- global cursor ... cursor information is set (new patches are created)
Example
Set the cursor on field e2 [7 5] setCursor([7 5])
See also
cursorListener, stopCursor, reset_cursor
Signature
|
|
Contact us at files@mathworks.com