|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dartra.standard.StandardObjective
Standard implementation of the Objective interface.
| Constructor Summary | |
StandardObjective(Player player)
|
|
StandardObjective(Player player,
Zone zone)
|
|
| Method Summary | |
Player |
getPlayer()
Returns the player that should try to obtain the objective. |
Zone |
getZone()
Return the zone that should be targetted. |
boolean |
isEndTurn()
Returns true if the player should end his turn. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StandardObjective(Player player,
Zone zone)
public StandardObjective(Player player)
| Method Detail |
public Player getPlayer()
ObjectiveReturns the player that should try to obtain the objective.
getPlayer in interface Objectivepublic Zone getZone()
ObjectiveReturn the zone that should be targetted.
getZone in interface Objectivepublic boolean isEndTurn()
ObjectiveReturns true if the player should end his turn.
isEndTurn in interface Objectivepublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||