edu.cmu.emulator.world
Class WorldDef
java.lang.Object
edu.cmu.emulator.world.WorldDef
public class WorldDef
- extends Object
Specifies the properties of the emulated world, such as its dimensions.
Constructor Summary |
protected |
WorldDef()
|
protected |
WorldDef(double[] min,
double[] max)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
WorldDef
protected WorldDef(double[] min,
double[] max)
- Constructor
WorldDef
protected WorldDef()
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.