edu.eside.flingbox.utils
Class PositionComparator

java.lang.Object
  extended by edu.eside.flingbox.utils.PositionComparator

public class PositionComparator
extends java.lang.Object

Abstract class to arrange objects by it's position in the scene.


Nested Class Summary
static interface PositionComparator.Positionable
          Interface of an object that can be located
 
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
 
Constructor Summary
PositionComparator()
           
 
Method Summary
static void setGroundSense(Vector2D sense)
          Sets ground vector
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

PositionComparator

public PositionComparator()
Method Detail

setGroundSense

public static void setGroundSense(Vector2D sense)
Sets ground vector

Parameters:
sense -