Class TextureVisual

java.lang.Object
me.arcademadness.omni_dungeon.visuals.TextureVisual
All Implemented Interfaces:
Visual

public class TextureVisual extends Object implements Visual
  • Constructor Summary

    Constructors
    Constructor
    Description
    TextureVisual(com.badlogic.gdx.graphics.Texture texture)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.badlogic.gdx.graphics.Texture
     
    void
    render(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle bounds, float rotation)
     
    void
    renderSlice(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle slice, float rotation)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TextureVisual

      public TextureVisual(com.badlogic.gdx.graphics.Texture texture)
  • Method Details

    • render

      public void render(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle bounds, float rotation)
      Specified by:
      render in interface Visual
    • renderSlice

      public void renderSlice(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle slice, float rotation)
      Specified by:
      renderSlice in interface Visual
    • getTexture

      public com.badlogic.gdx.graphics.Texture getTexture()