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

    Modifier and Type
    Method
    Description
    int
    Returns a unique Entity identifier for this Mask.
  • Method Details

    • getId

      int getId()
      Returns a unique Entity identifier for this Mask.
      Returns:
      A unique identifier.