Class TImageSprite (unit DXSprite)

Inherits from

TSprite

TImageSprite

Constructors


constructor Create(AParent: TSprite);

TImageSprite


Functions

procedure DoDraw;


procedure DoMove(MoveCount: Integer);


function GetBoundsRect: TRect;


function TestCollision(Sprite: TSprite): Boolean;

Pixel check !!!

function GetDrawImageIndex: Integer;


function GetDrawRect: TRect;


Properties

property AnimCount : Integer


property AnimLooped : Boolean


property AnimPos : Double


property AnimSpeed : Double


property AnimStart : Integer


property Image : TPictureCollectionItem


property PixelCheck : Boolean


property Tile : Boolean


Events

Variables

FAnimCount : Integer;


FAnimLooped : Boolean;


FAnimPos : Double;


FAnimSpeed : Double;


FAnimStart : Integer;


FImage : TPictureCollectionItem;


FPixelCheck : Boolean;


FTile : Boolean;


FTransparent : Boolean;



Constructors


constructor Create(AParent: TSprite);

TImageSprite


Functions


procedure DoDraw;


procedure DoMove(MoveCount: Integer);


function GetBoundsRect: TRect;


function TestCollision(Sprite: TSprite): Boolean;

Pixel check !!!


function GetDrawImageIndex: Integer;


function GetDrawRect: TRect;


Properties


property AnimCount : Integer


property AnimLooped : Boolean


property AnimPos : Double


property AnimSpeed : Double


property AnimStart : Integer


property Image : TPictureCollectionItem


property PixelCheck : Boolean


property Tile : Boolean


Events


Variables


FAnimCount : Integer;


FAnimLooped : Boolean;


FAnimPos : Double;


FAnimSpeed : Double;


FAnimStart : Integer;


FImage : TPictureCollectionItem;


FPixelCheck : Boolean;


FTile : Boolean;


FTransparent : Boolean;