Class StaticShadow

java.lang.Object
All Implemented Interfaces:
EntityRenderedListener, EntityRenderListener, IEntity, Tweenable, java.util.EventListener

public class StaticShadow
extends MapArea
  • Field Details

  • 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, java.lang.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