rl.leviathan.mapping
Class CapitalShipLocation

java.lang.Object
  extended by rl.common.mapping.Location
      extended by rl.common.mapping.HexLocation
          extended by rl.leviathan.mapping.CapitalShipLocation
All Implemented Interfaces:
java.io.Serializable

public class CapitalShipLocation
extends HexLocation

See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
CapitalShipLocation(CapitalShipLocation csl)
           
CapitalShipLocation(GameElementIdentifier element)
           
 
Method Summary
 void copy(Location l)
           
 boolean equals(java.lang.Object o)
           
 int getHexesMovedStraight()
           
 int getVelocity()
           
 boolean isRolled()
           
 void setHexesMovedStraight(int hexes)
           
 void setRolled(boolean rolled)
           
 void setVelocity(int velocity)
           
 
Methods inherited from class rl.common.mapping.HexLocation
getCoordinate, getFacing, offset, setCoordinate, setFacing, toString
 
Methods inherited from class rl.common.mapping.Location
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

CapitalShipLocation

public CapitalShipLocation(GameElementIdentifier element)

CapitalShipLocation

public CapitalShipLocation(CapitalShipLocation csl)
Method Detail

setHexesMovedStraight

public void setHexesMovedStraight(int hexes)

getHexesMovedStraight

public int getHexesMovedStraight()

setVelocity

public void setVelocity(int velocity)

getVelocity

public int getVelocity()

setRolled

public void setRolled(boolean rolled)

isRolled

public boolean isRolled()

copy

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class HexLocation