Package net.sf.colossus.game
Class Proposal
java.lang.Object
net.sf.colossus.game.Proposal
Class Proposal holds the results of a settlement attempt.
- Author:
- David Ripton
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
attacker
-
defender
-
fight
private final boolean fight -
mutual
private final boolean mutual -
winner
-
winnerLosses
-
sep
- See Also:
-
-
Constructor Details
-
Proposal
-
-
Method Details
-
getAttacker
-
getDefender
-
getWinner
-
getAttackerId
-
getDefenderId
-
getWinnerId
-
isFight
public boolean isFight() -
isMutual
public boolean isMutual() -
getWinnerLosses
-
equals
-
hashCode
public int hashCode() -
toString
-
makeFromString
Create a Proposal from a {sep}-separated list of fields.
-