edu.cmu.emulator.world
Class WorldDef

java.lang.Object
  extended by edu.cmu.emulator.world.WorldDef

public class WorldDef
extends Object

Specifies the properties of the emulated world, such as its dimensions.


Field Summary
static WorldDef defaultWorldDef
           
protected static double[] defMax
           
protected static double[] defMin
           
protected  double[] max
           
protected  double[] min
           
protected  MobilityDef mobilityDef
           
protected  LLAPos origin
           
 
Constructor Summary
protected WorldDef()
           
protected WorldDef(double[] min, double[] max)
          Constructor
 
Method Summary
 double[] getMax()
           
 double[] getMin()
           
 MobilityDef getMobilityDef()
           
 LLAPos getOrigin()
           
 double getSize(int dimension)
          Returns the height of the world.
 void setMobilityDef(MobilityDef mobilityDef)
           
 void setOrigin(LLAPos origin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

protected double[] min

max

protected double[] max

mobilityDef

protected MobilityDef mobilityDef

origin

protected LLAPos origin

defaultWorldDef

public static final WorldDef defaultWorldDef

defMin

protected static final double[] defMin

defMax

protected static final double[] defMax
Constructor Detail

WorldDef

protected WorldDef(double[] min,
                   double[] max)
Constructor


WorldDef

protected WorldDef()
Method Detail

getMin

public double[] getMin()

getMax

public double[] getMax()

getSize

public double getSize(int dimension)
Returns the height of the world.


getMobilityDef

public MobilityDef getMobilityDef()

setMobilityDef

public void setMobilityDef(MobilityDef mobilityDef)

setOrigin

public void setOrigin(LLAPos origin)

getOrigin

public LLAPos getOrigin()


Copyright © 2013. All Rights Reserved.