Class TiledGroundFloorComponent

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

public class TiledGroundFloorComponent extends RenderComponent
A render component for ground floors that extend to the bottom of the screen. Similar to TiledFloorComponent but without bottom edges.
  • Constructor Details

    • TiledGroundFloorComponent

      public TiledGroundFloorComponent(com.badlogic.gdx.graphics.g2d.TextureRegion topLeftCorner, com.badlogic.gdx.graphics.g2d.TextureRegion topRightCorner, com.badlogic.gdx.graphics.g2d.TextureRegion topEdge, com.badlogic.gdx.graphics.g2d.TextureRegion leftEdge, com.badlogic.gdx.graphics.g2d.TextureRegion rightEdge, com.badlogic.gdx.graphics.g2d.TextureRegion middleTile)
  • Method Details

    • draw

      protected void draw(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
      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.