Class StaticShadow

All Implemented Interfaces:
EntityRenderedListener, EntityRenderListener, IEntity, Tweenable, EventListener

public class StaticShadow extends MapArea
  • Field Details

    • DEFAULT_COLOR

      public static final Color DEFAULT_COLOR
    • DEFAULT_OFFSET

      public static final int DEFAULT_OFFSET
      See Also:
  • Constructor Details

    • StaticShadow

      public StaticShadow(StaticShadowType shadowType, int offset)
      Instantiates a new StaticShadow entity.
      Parameters:
      shadowType - The type of the static shadow.
      offset - The offset for the shadow.
    • StaticShadow

      public StaticShadow(StaticShadowType shadowType)
      Instantiates a new StaticShadow entity.
      Parameters:
      shadowType - The type of the static shadow.
    • StaticShadow

      public StaticShadow(double x, double y, float width, float height, StaticShadowType shadowType)
      Instantiates a new StaticShadow entity.
      Parameters:
      x - The x-coordinate of this instance.
      y - The y-coordinate of this instance.
      width - The width of this instance.
      height - The height of this instance.
      shadowType - The type of the static shadow.
    • StaticShadow

      public StaticShadow(int id, double x, double y, float width, float height, StaticShadowType shadowType)
      Instantiates a new StaticShadow entity.
      Parameters:
      id - The id of this entity.
      x - The x-coordinate of this instance.
      y - The y-coordinate of this instance.
      width - The width of this instance.
      height - The height of this instance.
      shadowType - The type of the static shadow.
    • StaticShadow

      public StaticShadow(int id, String name, double x, double y, float width, float height, StaticShadowType shadowType)
      Instantiates a new StaticShadow entity.
      Parameters:
      id - The id of this entity.
      name - The name of this entity.
      x - The x-coordinate of this instance.
      y - The y-coordinate of this instance.
      width - The width of this instance.
      height - The height of this instance.
      shadowType - The type of the static shadow.
    • StaticShadow

      public StaticShadow(CollisionBox collisionBox)
      Instantiates a new StaticShadow entity.
      Parameters:
      collisionBox - The collision box from which this shadow instance originates from.
  • Method Details