Class ShapeVisual

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

public class ShapeVisual extends AbstractVisual
  • Field Summary

    Fields inherited from class me.arcademadness.omni_dungeon.visuals.AbstractVisual

    color
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShapeVisual(com.badlogic.gdx.graphics.Color color)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 me.arcademadness.omni_dungeon.visuals.AbstractVisual

    getColor, setColor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      render in interface Visual
      Specified by:
      render in class AbstractVisual
    • 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
      Specified by:
      renderSlice in class AbstractVisual