Code covered by the BSD License  

Highlights from
Chess with "Greedy Edi"

image thumbnail

Chess with "Greedy Edi"

by

 

07 Nov 2009 (Updated )

Play chess against "Greedy Edi".

setCursor

setCursor

setCursor sets the cursor on a certain field

Contents

Syntax

setCursor(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

  • Copyright 2006 W.Garn

Contact us