Class MapRenderingSystem

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, com.esotericsoftware.kryo.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
      Нужно ли учитывать время выполнения update() в Debug
      Overrides:
      profileUpdate in class GameSystem
    • getSystemName

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

      public void setup()
      Description copied from class: GameSystem
      Произвести начальную настройку системы. На момент вызова этого метода, systemProvider содержит объекты всех систем.
      Overrides:
      setup in class GameSystem
    • switchMapDrawMode

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

      public MapRenderingSystem.DrawMode getDrawMode()
    • forceTilesRedraw

      public void forceTilesRedraw(boolean redrawTileBase)
    • forceTowersRedraw

      public void forceTowersRedraw()
    • setDrawMode

      public void setDrawMode(MapRenderingSystem.DrawMode mode)
    • drawTiles

      public void drawTiles(com.badlogic.gdx.graphics.OrthographicCamera camera)
    • drawStains

      public void drawStains(com.badlogic.gdx.graphics.g2d.Batch batch)
    • drawBatch

      public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime)
    • postDrawBatch

      public void postDrawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime)
    • drawTilesExtras

      public void drawTilesExtras(com.badlogic.gdx.graphics.OrthographicCamera camera)
    • drawTowers

      public void drawTowers(com.badlogic.gdx.graphics.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 com.badlogic.gdx.utils.Disposable
      Overrides:
      dispose in class GameSystem