Class X

java.lang.Object
hoverball.debug.Debug
hoverball.debug.X

public class X
extends Debug
Tags a point by plotting an X.
  • Field Summary

    Fields inherited from class hoverball.debug.Debug

    color, debugs
  • Constructor Summary

    Constructors 
    Constructor Description
    X​(Vector p)
    Creates an X-tagging debug.
    X​(Vector p, java.lang.String text)
    Creates a X-tagging debug with the specified text.
  • Method Summary

    Modifier and Type Method Description
    void paint​(java.awt.Graphics g, java.awt.Color color, java.awt.Color globe, double scale, Sphere sphere, Matrix base, boolean front)
    [Implementation]

    Methods inherited from class hoverball.debug.Debug

    color, scale, vector

    Methods inherited from class java.lang.Object

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

    • X

      public X​(Vector p)
      Creates an X-tagging debug.
      Parameters:
      p - point
    • X

      public X​(Vector p, java.lang.String text)
      Creates a X-tagging debug with the specified text.
      Parameters:
      p - point
      text - text
  • Method Details

    • paint

      public void paint​(java.awt.Graphics g, java.awt.Color color, java.awt.Color globe, double scale, Sphere sphere, Matrix base, boolean front)
      [Implementation]
      Overrides:
      paint in class Debug
      Parameters:
      g - Graphics Context
      color - color of the debug
      globe - color of the sphere
      scale - scaling (sphere radius in pixels)
      sphere - game sphere
      base - perspective matrix
      front - front or back?