Class NpcEvictionMenuDisplay

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, Renderable, Comparable<Renderable>

@Deprecated public class NpcEvictionMenuDisplay extends UIComponent
Deprecated.
An ui component for displaying the npc eviction menu. Update by 15/9/2022 -- Yingxin Liu IMPORTANT !!!
In this update, in order to match the game, this class is rebuilt passing Window()
Rather than UIComponent
Therefore, from now on , this class will be deprecated , all code and new update will be moved to
See Also:
  • Constructor Details

    • NpcEvictionMenuDisplay

      public NpcEvictionMenuDisplay(GdxGame game)
      Deprecated.
  • Method Details

    • create

      public void create()
      Deprecated.
      Description copied from class: Component
      Called when the entity is created and registered. Initial logic such as calls to GetComponent should be made here, not in the constructor which is called before an entity is finished.
      Overrides:
      create in class UIComponent
    • draw

      protected void draw(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
      Deprecated.
      Description copied from class: RenderComponent
      Draw the renderable. Should be called only by the renderer, not manually.
      Specified by:
      draw in class RenderComponent
      Parameters:
      batch - Batch to render to.