Description | Hierarchy | Fields | Methods | Properties |
type TSpriteEngine = class(TSprite)
The spriteengine itsself.
![]() |
constructor Create(AParent:TAdDraw); reintroduce; |
![]() |
destructor Destroy; override; |
![]() |
procedure Dead; override; |
![]() |
procedure Move(TimeGap: double); |
![]() |
property CollisionCount: integer read FCollisionCount write FCollisionCount; |
![]() |
property CollisionSprite: TSprite read FCollisionSprite write FCollisionSprite; |
![]() |
property CollisionDone: boolean read FCollisionDone write FCollisionDone; |
![]() |
property CollisionRect: TAdRect read FCollisionRect write FCollisionRect; |
![]() |
property SurfaceRect: TAdRect read FSurfaceRect; |
![]() |
property Surface: TAdRenderingSurface read FSurface write SetSurface; |
![]() |
constructor Create(AParent:TAdDraw); reintroduce; |
Creates an instance of TSprite |
![]() |
destructor Destroy; override; |
Destroyes the instance |
![]() |
procedure Dead; override; |
Kills all sprites which want to be dead. |
![]() |
procedure Move(TimeGap: double); |
Calls the DoMove function of the instance and all child's move function. |
![]() |
property CollisionCount: integer read FCollisionCount write FCollisionCount; |
The count of sprites which collide to the collision sprite. |
![]() |
property CollisionSprite: TSprite read FCollisionSprite write FCollisionSprite; |
The sprite which wants to know, whether it collides. |
![]() |
property CollisionDone: boolean read FCollisionDone write FCollisionDone; |
If this value is set to true, the collision aborts. |
![]() |
property CollisionRect: TAdRect read FCollisionRect write FCollisionRect; |
The rect the collision takes place in. |
![]() |
property SurfaceRect: TAdRect read FSurfaceRect; |
The size of the surface. |
![]() |
property Surface: TAdRenderingSurface read FSurface write SetSurface; |
The parent addraw surface. |