Class DebugLine


  • public class DebugLine
    extends DebugDraw
    Draws a line debug
    Author:
    Riju De
    • Constructor Summary

      Constructors 
      Constructor Description
      DebugLine​(com.badlogic.gdx.math.Vector2 a, com.badlogic.gdx.math.Vector2 b, int width, com.badlogic.gdx.graphics.Color colour)  
    • Method Summary

      Modifier and Type Method Description
      void Draw​(com.badlogic.gdx.math.Matrix4 projectionMatrix)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DebugLine

        public DebugLine​(com.badlogic.gdx.math.Vector2 a,
                         com.badlogic.gdx.math.Vector2 b,
                         int width,
                         com.badlogic.gdx.graphics.Color colour)
        Parameters:
        a - Start point of the line
        b - End point of the line
        width - Width of the line
        colour - Colour to draw
    • Method Detail

      • Draw

        public void Draw​(com.badlogic.gdx.math.Matrix4 projectionMatrix)
        Specified by:
        Draw in class DebugDraw