edu.cmu.emulator.world
Class RouteDef

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

public class RouteDef
extends Object


Field Summary
protected  boolean isLoop
           
protected  String name
           
protected  ArrayList waypoints
           
 
Constructor Summary
RouteDef()
           
RouteDef(String name, ArrayList waypoints)
           
 
Method Summary
 void completeWaypoints()
           
 String getName()
           
 Waypoint getWaypoint(int index)
           
 boolean isLoop()
           
 void parse(Element rdElement)
           
 void setLoop(boolean isLoop)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

waypoints

protected ArrayList waypoints

isLoop

protected boolean isLoop
Constructor Detail

RouteDef

public RouteDef()

RouteDef

public RouteDef(String name,
                ArrayList waypoints)
Method Detail

getName

public String getName()

size

public int size()

isLoop

public boolean isLoop()

setLoop

public void setLoop(boolean isLoop)

getWaypoint

public Waypoint getWaypoint(int index)

completeWaypoints

public void completeWaypoints()

parse

public void parse(Element rdElement)


Copyright © 2013. All Rights Reserved.