java.lang.Object
org.variantsync.diffdetective.show.engine.Entity

public final class Entity extends Object
  • Field Details

  • Constructor Details

    • Entity

      public Entity()
  • Method Details

    • add

      public void add(EntityComponent component)
    • remove

      public void remove(EntityComponent component)
    • get

      public <T extends EntityComponent> T get(Class<T> type)
    • forComponent

      public <T extends EntityComponent> void forComponent(Class<T> type, Consumer<T> ifPresent)
    • getRelativeTransform

      public AffineTransform getRelativeTransform()
    • updateTransform

      public void updateTransform()
    • setLocation

      public void setLocation(Vec2 location)
    • getLocation

      public Vec2 getLocation()
    • setZ

      public void setZ(double z)
    • getZ

      public double getZ()