rl.common.mapping
Class TransportedLocation

java.lang.Object
  extended by rl.common.mapping.Location
      extended by rl.common.mapping.OffboardLocation
          extended by rl.common.mapping.TransportedLocation
All Implemented Interfaces:
java.io.Serializable

public class TransportedLocation
extends OffboardLocation

See Also:
Serialized Form

Nested Class Summary
static class TransportedLocation.Containment
           
 
Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
TransportedLocation(GameElementIdentifier gameElement, GameElementIdentifier transportElement, TransportedLocation.Containment containment)
           
 
Method Summary
 void copy(Location l)
           
 TransportedLocation.Containment getContainment()
           
 GameElementIdentifier getTransportElement()
           
 java.lang.String toString()
           
 
Methods inherited from class rl.common.mapping.Location
equals, getElement, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

TransportedLocation

public TransportedLocation(GameElementIdentifier gameElement,
                           GameElementIdentifier transportElement,
                           TransportedLocation.Containment containment)
Method Detail

getTransportElement

public GameElementIdentifier getTransportElement()

getContainment

public TransportedLocation.Containment getContainment()

copy

public void copy(Location l)
Overrides:
copy in class OffboardLocation

toString

public java.lang.String toString()
Overrides:
toString in class OffboardLocation