Class ShapeVisual
java.lang.Object
me.arcademadness.omni_dungeon.visuals.AbstractVisual
me.arcademadness.omni_dungeon.visuals.ShapeVisual
- All Implemented Interfaces:
Visual
-
Field Summary
Fields inherited from class me.arcademadness.omni_dungeon.visuals.AbstractVisual
color -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(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) Methods inherited from class me.arcademadness.omni_dungeon.visuals.AbstractVisual
getColor, setColor
-
Constructor Details
-
ShapeVisual
public ShapeVisual(com.badlogic.gdx.graphics.Color color)
-
-
Method Details
-
render
public void render(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle bounds, float rotation) - Specified by:
renderin interfaceVisual- Specified by:
renderin classAbstractVisual
-
renderSlice
public void renderSlice(com.badlogic.gdx.graphics.glutils.ShapeRenderer shape, com.badlogic.gdx.math.Rectangle slice, float rotation) - Specified by:
renderSlicein interfaceVisual- Specified by:
renderSlicein classAbstractVisual
-