gizmoball.graphics
Class GizmoDrawOrderer

java.lang.Object
  extended by gizmoball.graphics.GizmoDrawOrderer
All Implemented Interfaces:
java.util.Comparator<GameObject>

public class GizmoDrawOrderer
extends java.lang.Object
implements java.util.Comparator<GameObject>


Constructor Summary
GizmoDrawOrderer(Vect3 cameraPos)
           
 
Method Summary
 int compare(GameObject arg0, GameObject arg1)
           
 Sphere getBoundingSphere(GameObject arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

GizmoDrawOrderer

public GizmoDrawOrderer(Vect3 cameraPos)
Method Detail

getBoundingSphere

public Sphere getBoundingSphere(GameObject arg)

compare

public int compare(GameObject arg0,
                   GameObject arg1)
Specified by:
compare in interface java.util.Comparator<GameObject>