Interface Drawable

All Known Implementing Classes:
AreaSelector, Item, ItemSelectionTool, Player, SelectionTool

public interface Drawable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(com.badlogic.gdx.graphics.g2d.Batch batch)
    Draw this Drawable on the Batch
    int
     
    com.badlogic.gdx.math.Vector2
     
    int
     
  • Method Details

    • renderPriority

      int renderPriority()
      Returns:
      the renderPriority of this Drawable
    • draw

      void draw(com.badlogic.gdx.graphics.g2d.Batch batch)
      Draw this Drawable on the Batch
      Parameters:
      batch - to draw on
    • position

      com.badlogic.gdx.math.Vector2 position()
      Returns:
      coordinates of the lower left corner of this Drawable
    • getTileDepth

      int getTileDepth()
      Returns:
      the tile depth of this Drawable