All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.loki3.cyber.server.ObjectiveBase

java.lang.Object
    |
    +----com.loki3.cyber.server.ObjectiveBase

public abstract class ObjectiveBase
extends java.lang.Object
implements Objective
Common behavior for scenario objectives


Constructor Index

 o ObjectiveBase()
 

Method Index

 o getGoal()
 
 o getMessage()
 
 o getNext()
 
 o getRewards()
 
 o isEndOfScenario()
 
 o setEndScenario(boolean)
when objective is met, is that the end of the scenario?
 o setGoal(String)
customize the explanation of what it takes to meet goal
 o setMessage(String)
customize the message you want sent when goal met
 o setRewards(Rewards)
set the list of Reward objects for meeting objective

Constructor Detail

 o ObjectiveBase
public ObjectiveBase()

Method Detail

 o isEndOfScenario
public boolean isEndOfScenario()
 o getRewards
public java.util.Enumeration getRewards()
 o getNext
public Objective getNext()
 o getGoal
public java.lang.String getGoal()
 o getMessage
public java.lang.String getMessage()
 o setEndScenario
public void setEndScenario(boolean flag)
          when objective is met, is that the end of the scenario?
 o setRewards
public void setRewards(Rewards rewards)
          set the list of Reward objects for meeting objective
 o setGoal
public void setGoal(java.lang.String goal)
          customize the explanation of what it takes to meet goal
 o setMessage
public void setMessage(java.lang.String message)
          customize the message you want sent when goal met

All Packages  Class Hierarchy  This Package  Previous  Next  Index