Description | Hierarchy | Fields | Methods | Properties |
type TImageSprite = class(TSprite)
A sprite which draws sprites.
constructor Create(AParent:TSprite); override; |
|
destructor Destroy; override; |
property Image: TAdImage read FImage write SetImage; |
|
property AnimCount: Integer read GetAnimCount; |
|
property AnimStart: Integer read FAnimStart write SetAnimStart; |
|
property AnimStop: Integer read FAnimStop write SetAnimStop; |
|
property AnimPos: double read FAnimPos write FAnimPos; |
|
property AnimLoop: boolean read FAnimLoop write FAnimLoop; |
|
property AnimActive: boolean read FAnimActive write FAnimActive; |
|
property AnimSpeed: double read FAnimSpeed write FAnimSpeed; |
constructor Create(AParent:TSprite); override; |
|
Creates an instance of TImageSprite |
destructor Destroy; override; |
|
Destroys the instance of TImageSprite |
property Image: TAdImage read FImage write SetImage; |
|
The image which is drawn by the sprite. |
property AnimCount: Integer read GetAnimCount; |
|
The count of patterns the image has. |
property AnimStart: Integer read FAnimStart write SetAnimStart; |
|
The pattern where the animation starts. |
property AnimStop: Integer read FAnimStop write SetAnimStop; |
|
The pattern where the animation ends. |
property AnimPos: double read FAnimPos write FAnimPos; |
|
The pattern where the animation is at this moment. |
property AnimLoop: boolean read FAnimLoop write FAnimLoop; |
|
Defines whether the animation loops or it is only played once. |
property AnimActive: boolean read FAnimActive write FAnimActive; |
|
Defines whether the animation is played (true) or paused (false). |
property AnimSpeed: double read FAnimSpeed write FAnimSpeed; |
|
The animation speed in frames (patterns) per second. |