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