Class MapRenderingSystem

All Implemented Interfaces:
Disposable, KryoSerializable

public final class MapRenderingSystem extends GameSystem
  • Field Details

  • Constructor Details

    • MapRenderingSystem

      public MapRenderingSystem()
  • Method Details

    • affectsGameState

      public boolean affectsGameState()
      Specified by:
      affectsGameState in class GameSystem
    • profileUpdate

      public boolean profileUpdate()
      Description copied from class: GameSystem
      Should the update() method be rendered on the debug overlay
      Overrides:
      profileUpdate in class GameSystem
    • getSystemName

      public String getSystemName()
      Specified by:
      getSystemName in class GameSystem
    • setup

      public void setup()
      Description copied from class: GameSystem
      Performs the initial configuration of the system. At the moment of call, systemProvider already contains all objects of systems.
      Overrides:
      setup in class GameSystem
    • switchMapDrawMode

      public void switchMapDrawMode()
      Also sets the custom setting
    • getDrawMode

      public MapRenderingSystem.DrawMode getDrawMode()
    • forceBuildingsRedraw

      public void forceBuildingsRedraw()
    • forceTilesRedraw

      public void forceTilesRedraw(boolean redrawTileBase)
    • setDrawMode

      public void setDrawMode(MapRenderingSystem.DrawMode mode)
    • drawTiles

      public void drawTiles(OrthographicCamera camera)
    • drawBuildings

      public void drawBuildings(OrthographicCamera camera)
    • drawStains

      public void drawStains(Batch batch)
    • drawBatch

      public void drawBatch(Batch batch, float deltaTime)
    • postDrawBatch

      public void postDrawBatch(Batch batch, float deltaTime)
    • drawTilesExtras

      public void drawTilesExtras(OrthographicCamera camera)
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.utils.Disposable
      Releases all resources of this object.
      Specified by:
      dispose in interface Disposable
      Overrides:
      dispose in class GameSystem