|
||||||||||
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()
Objective
Returns the player that should try to obtain the objective.
getPlayer
in interface Objective
public Zone getZone()
Objective
Return the zone that should be targetted.
getZone
in interface Objective
public boolean isEndTurn()
Objective
Returns true if the player should end his turn.
isEndTurn
in interface Objective
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |