Class Effect.EffectContainer

java.lang.Object
mindustry.entities.Effect.EffectContainer
All Implemented Interfaces:
Scaled
Enclosing class:
Effect

public static class Effect.EffectContainer extends Object implements Scaled
  • Field Details

    • x

      public float x
    • y

      public float y
    • time

      public float time
    • lifetime

      public float lifetime
    • rotation

      public float rotation
    • color

      public Color color
    • id

      public int id
    • data

      public Object data
  • Constructor Details

    • EffectContainer

      public EffectContainer()
  • Method Details

    • set

      public void set(int id, Color color, float life, float lifetime, float rotation, float x, float y, Object data)
    • data

      public <T> T data()
    • inner

      public Effect.EffectContainer inner()
    • scaled

      public void scaled(float lifetime, Cons<Effect.EffectContainer> cons)
    • fin

      public float fin()
      Description copied from interface: Scaled
      0 to 1.
      Specified by:
      fin in interface Scaled