edu.eside.flingbox.utils
Class PositionComparator
java.lang.Object
edu.eside.flingbox.utils.PositionComparator
public class PositionComparator
- extends java.lang.Object
Abstract class to arrange objects by it's position
in the scene.
Field Summary |
static edu.eside.flingbox.utils.PositionComparator.ByPositionComparator |
LOWER_COMPARATOR
To order from the bottom of the scene to the top |
static edu.eside.flingbox.utils.PositionComparator.ByPositionComparator |
UPPER_COMPARATOR
To order from the top of the scene to the bottom |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPPER_COMPARATOR
public static final edu.eside.flingbox.utils.PositionComparator.ByPositionComparator UPPER_COMPARATOR
- To order from the top of the scene to the bottom
LOWER_COMPARATOR
public static final edu.eside.flingbox.utils.PositionComparator.ByPositionComparator LOWER_COMPARATOR
- To order from the bottom of the scene to the top
PositionComparator
public PositionComparator()
setGroundSense
public static void setGroundSense(Vector2D sense)
- Sets ground vector
- Parameters:
sense
-