Interface Mask
- All Known Implementing Classes:
BufferedGroup
,Circle
,Line
,Polygon
,Rectangle
,RoundedRectangle
,Shape
,Sprite
,SpriteAnimation
,SpriteBasedEntity
,TilingSprite
public interface Mask
Entities that implement this interface can be used as a Mask
by other entities.
Masks
can only be assigned to one entity at a time.-
Method Summary
-
Method Details
-
getId
int getId()Returns a uniqueEntity
identifier for thisMask
.- Returns:
- A unique identifier.
-