Class TImageSprite

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TImageSprite = class(TSprite)

Description

A sprite which draws sprites.

Hierarchy

Overview

Methods

Public constructor Create(AParent:TSprite); override;
Public destructor Destroy; override;

Properties

Public property Image: TAdImage read FImage write SetImage;
Published property AnimCount: Integer read GetAnimCount;
Published property AnimStart: Integer read FAnimStart write SetAnimStart;
Published property AnimStop: Integer read FAnimStop write SetAnimStop;
Published property AnimPos: double read FAnimPos write FAnimPos;
Published property AnimLoop: boolean read FAnimLoop write FAnimLoop;
Published property AnimActive: boolean read FAnimActive write FAnimActive;
Published property AnimSpeed: double read FAnimSpeed write FAnimSpeed;

Description

Methods

Public constructor Create(AParent:TSprite); override;

Creates an instance of TImageSprite

Public destructor Destroy; override;

Destroys the instance of TImageSprite

Properties

Public property Image: TAdImage read FImage write SetImage;

The image which is drawn by the sprite.

Published property AnimCount: Integer read GetAnimCount;

The count of patterns the image has.

Published property AnimStart: Integer read FAnimStart write SetAnimStart;

The pattern where the animation starts.

Published property AnimStop: Integer read FAnimStop write SetAnimStop;

The pattern where the animation ends.

Published property AnimPos: double read FAnimPos write FAnimPos;

The pattern where the animation is at this moment.

Published property AnimLoop: boolean read FAnimLoop write FAnimLoop;

Defines whether the animation loops or it is only played once.

Published property AnimActive: boolean read FAnimActive write FAnimActive;

Defines whether the animation is played (true) or paused (false).

Published property AnimSpeed: double read FAnimSpeed write FAnimSpeed;

The animation speed in frames (patterns) per second.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00