AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.Clone Constructor (TAgkSprite)

Clones a sprite. The new sprite will be in in exactly the same position as the original.

Syntax
Pascal
constructor Clone(const Original: TAgkSprite); overload;
Parameters 
Description 
const Original: TAgkSprite 
the original sprite to clone. 

Any physics values or shapes assigned to the sprite will not be copied. The new sprite will not be setup for physics.

Copyright (c) 2012. All rights reserved.