net.sf.colossus.game
Class RecruitGraph.RecruitEdge
java.lang.Object
net.sf.colossus.game.RecruitGraph.RecruitEdge
- Enclosing class:
- RecruitGraph
private static class RecruitGraph.RecruitEdge
- extends java.lang.Object
The edge of the Recruit Graph
- Author:
- Romain Dolbeau
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
src
private final RecruitGraph.RecruitVertex src
dst
private final RecruitGraph.RecruitVertex dst
number
private final int number
terrain
private final MasterBoardTerrain terrain
RecruitGraph.RecruitEdge
RecruitGraph.RecruitEdge(RecruitGraph.RecruitVertex src,
RecruitGraph.RecruitVertex dst,
int number,
MasterBoardTerrain terrain)
getSource
RecruitGraph.RecruitVertex getSource()
getDestination
RecruitGraph.RecruitVertex getDestination()
getNumber
int getNumber()
getTerrain
MasterBoardTerrain getTerrain()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object