Class TSpriteEngine (unit DXSprite)

Inherits from

TSprite

TSpriteEngine

Constructors


constructor Create(AParent: TSprite);

TSpriteEngine


Functions

procedure Dead;


destructor Destroy;


procedure Draw;


procedure SetSurface(Value: TDirectDrawSurface);


Properties

property AllCount : Integer


property DrawCount : Integer


property Surface : TDirectDrawSurface


property SurfaceRect : TRect


Events

Variables

FAllCount : Integer;


FCollisionCount : Integer;


FCollisionDone : Boolean;


FCollisionRect : TRect;


FCollisionSprite : TSprite;


FDeadList : TList;


FDrawCount : Integer;


FSurface : TDirectDrawSurface;


FSurfaceRect : TRect;



Constructors


constructor Create(AParent: TSprite);

TSpriteEngine


Functions


procedure Dead;


destructor Destroy;


procedure Draw;


procedure SetSurface(Value: TDirectDrawSurface);


Properties


property AllCount : Integer


property DrawCount : Integer


property Surface : TDirectDrawSurface


property SurfaceRect : TRect


Events


Variables


FAllCount : Integer;


FCollisionCount : Integer;


FCollisionDone : Boolean;


FCollisionRect : TRect;


FCollisionSprite : TSprite;


FDeadList : TList;


FDrawCount : Integer;


FSurface : TDirectDrawSurface;


FSurfaceRect : TRect;