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

public class World extends Object
  • Field Details

    • app

      private final App app
    • camera

      private final Camera camera
    • entities

      private final List<Entity> entities
  • Constructor Details

    • World

      public World(App app)
  • Method Details

    • spawn

      public void spawn(Entity element)
      RENDERING
    • despawn

      public void despawn(Entity element)
    • getApp

      public App getApp()
      GET AND SET
    • getCamera

      public Camera getCamera()
    • worldToViewportCoord

      public Vec2 worldToViewportCoord(Vec2 pos)
    • getEntities

      public Iterable<? extends Entity> getEntities()
    • sortEntities

      public void sortEntities()