rl.leviathan.game.elements
Class LeviathanDeployment
java.lang.Object
rl.common.game.elements.Deployment
rl.leviathan.game.elements.LeviathanDeployment
- All Implemented Interfaces:
- java.io.Serializable
public class LeviathanDeployment
- extends Deployment
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
LeviathanDeployment
public LeviathanDeployment()
setX1
public void setX1(int x1)
getX1
public int getX1()
setY1
public void setY1(int y1)
getY1
public int getY1()
setX2
public void setX2(int x2)
getX2
public int getX2()
setY2
public void setY2(int y2)
getY2
public int getY2()
setMaximumStartingVelocity
public void setMaximumStartingVelocity(int maxVelocity)
getMaximumStartingVelocity
public int getMaximumStartingVelocity()
setDirectionRestrictions
public void setDirectionRestrictions(boolean[] restrictions)
isDirectionOK
public boolean isDirectionOK(int dir)
containsCoordinate
public boolean containsCoordinate(Coordinate coord)
containsColumn
public boolean containsColumn(int x)
containsRow
public boolean containsRow(int y)
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in class Deployment
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in class Deployment
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains in class Deployment
getBounds
public java.awt.Rectangle getBounds()
- Specified by:
getBounds in class Deployment