Class TextureVisual
java.lang.Object
me.arcademadness.omni_dungeon.visuals.TextureVisual
- All Implemented Interfaces:
Visual
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.graphics.Texturevoidrender(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle bounds, float rotation) voidrenderSlice(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle slice, float rotation)
-
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) -
renderSlice
public void renderSlice(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle slice, float rotation) - Specified by:
renderSlicein interfaceVisual
-
getTexture
public com.badlogic.gdx.graphics.Texture getTexture()
-