org.dartra.framework
Interface Objective

All Known Implementing Classes:
StandardObjective

public interface Objective

Objective of a player in a game: hit a particular zone of the board or end the turn.

Objectives have reference semantics. Each object models a unique objective a player has during a game.

Author:
Erwin Vervaet

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.
 

Method Detail

getPlayer

public Player getPlayer()

Returns the player that should try to obtain the objective.


getZone

public Zone getZone()

Return the zone that should be targetted.


isEndTurn

public boolean isEndTurn()

Returns true if the player should end his turn.