Pawn.clone() method

Clone functin of the pawn object.

Signature:

clone(name: string): Pawn;

Parameters

ParameterDescription
nameThe name of the cloned pawn.

Returns:

Pawn