Package net.sf.colossus.game
Class RecruitGraph.RecruitEdge
java.lang.Object
net.sf.colossus.game.RecruitGraph.RecruitEdge
- Enclosing class:
- RecruitGraph
The edge of the Recruit Graph
- Author:
- Romain Dolbeau
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecruitGraph.RecruitVertex
private final int
private final RecruitGraph.RecruitVertex
private final MasterBoardTerrain
-
Constructor Summary
ConstructorsConstructorDescriptionRecruitEdge
(RecruitGraph.RecruitVertex src, RecruitGraph.RecruitVertex dst, int number, MasterBoardTerrain terrain) -
Method Summary
Modifier and TypeMethodDescriptionboolean
(package private) RecruitGraph.RecruitVertex
(package private) int
(package private) RecruitGraph.RecruitVertex
(package private) MasterBoardTerrain
toString()
-
Field Details
-
src
-
dst
-
number
private final int number -
terrain
-
-
Constructor Details
-
RecruitEdge
RecruitEdge(RecruitGraph.RecruitVertex src, RecruitGraph.RecruitVertex dst, int number, MasterBoardTerrain terrain)
-
-
Method Details
-
getSource
RecruitGraph.RecruitVertex getSource() -
getDestination
RecruitGraph.RecruitVertex getDestination() -
getNumber
int getNumber() -
getTerrain
MasterBoardTerrain getTerrain() -
equals
-
toString
-