SpriteLayer.DisplayListItem

Helps to determine the displaying properties and order of sprites.

Constructors

this
this(Coordinate position, ABitmap sprite, int priority, BitmapAttrib attributes)
Undocumented in source.
this
this(Coordinate position, Coordinate slice, ABitmap sprite, int priority, BitmapAttrib attributes)
Undocumented in source.

Members

Functions

opCmp
int opCmp(DisplayListItem d)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(DisplayListItem d)
Undocumented in source. Be warned that the author may not have intended to support it.
replaceSprite
void replaceSprite(ABitmap sprite)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

attributes
BitmapAttrib attributes;

Horizontal and vertical mirroring.

palette
Color* palette;
Undocumented in source.
pixelData
void* pixelData;
Undocumented in source.
position
Coordinate position;

Stores the position relative to the origin point. Actual display position is determined by the scroll positions.

priority
int priority;

Used for automatic sorting and identification, otherwise the DisplayList is pre-sorted for better performance.

slice
Coordinate slice;

To compensate for the lack of scanline interrupt capabilities, this enables chopping off parts of a sprite.

wordLength
ubyte wordLength;

Determines the word length of a sprite in a much quicker way than getting classinfo.

Meta