Package zombie.debug

Class LineDrawer

java.lang.Object
zombie.debug.LineDrawer

public class LineDrawer
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int alpha  
    static int blue  
    static int green  
    static int red  
  • Constructor Summary

    Constructors
    Constructor Description
    LineDrawer()  
  • Method Summary

    Modifier and Type Method Description
    static void addLine​(float x, float y, float z, float x2, float y2, float z2, float r, float g, float b, java.lang.String name, boolean bLine)  
    static void addLine​(float x, float y, float z, float x2, float y2, float z2, int r, int g, int b, java.lang.String name)  
    static void clear()  
    static void DrawIsoLine​(float x, float y, float z, float x2, float y2, float z2, float r, float g, float b, float a, int thickness)  
    static void drawLine​(float x, float y, float x2, float y2, float r, float g, float b, float a, int thickness)  
    static void drawLines()  
    static void drawRect​(float x, float y, float width, float height, float r, float g, float b, float a, int thickness)  
    void removeLine​(java.lang.String name)  
    static void render()  

    Methods inherited from class java.lang.Object

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

    • red

      public static int red
    • green

      public static int green
    • blue

      public static int blue
    • alpha

      public static int alpha
  • Constructor Details

    • LineDrawer

      public LineDrawer()
  • Method Details

    • DrawIsoLine

      public static void DrawIsoLine​(float x, float y, float z, float x2, float y2, float z2, float r, float g, float b, float a, int thickness)
    • drawLine

      public static void drawLine​(float x, float y, float x2, float y2, float r, float g, float b, float a, int thickness)
    • drawRect

      public static void drawRect​(float x, float y, float width, float height, float r, float g, float b, float a, int thickness)
    • addLine

      public static void addLine​(float x, float y, float z, float x2, float y2, float z2, int r, int g, int b, java.lang.String name)
    • addLine

      public static void addLine​(float x, float y, float z, float x2, float y2, float z2, float r, float g, float b, java.lang.String name, boolean bLine)
    • clear

      public static void clear()
    • removeLine

      public void removeLine​(java.lang.String name)
    • render

      public static void render()
    • drawLines

      public static void drawLines()