public class DiscoveryQuestGameInfo extends BasicGameInfo
Ships must 'Scan' (see ScanCommand
) various objects in order to accumulate points. Every type of object in the game is worth a different number of points.
Scanning is different from Radar, and requires a precise ID and takes more time and energy to perform. It also has a limited range which you must stay within for the whole duration of the scan.
You CANNOT scan the same object more than once for points.
Ships must establish an 'Outpost' by scanning it. Once they have done so, they will start to receive 'Missions'. They initially won't score points for scanned objects until an Outpost is established.
All points for things scanned before making an Outpost will be awarded when an Outpost is established.
A Mission dictates which objects a ship should go scan. If a ship goes and scans ONLY those things, bonus points will be awarded when they return to their outpost and Scan it again.
Scanning their outpost will always give them a new mission.
Your Ship being destroyed clears/fails your mission, so you must return to your established outpost if you want a new one.
The Discovery Quest Game prevents a player from warping out of a nebula.
Constructor and Description |
---|
DiscoveryQuestGameInfo() |
Modifier and Type | Method and Description |
---|---|
int[] |
getLastSuccessfulIds()
Gets an array of ints of ids for objects which a
ScanCommand
successfully processed. |
java.lang.String[] |
getMissionLeft()
Gets an array of strings containing the types of objects left to scan
in order to complete this mission.
|
int[] |
getScanIdsInProgress()
Gets an array of ints of ids for objects which a
ScanCommand is
currently in progress for. |
boolean |
isMissionFailed()
Indicates if the current missions is still a success or not.
|
java.lang.String |
toString() |
getBestScore, getHighScore, getLastDestroyedBy, getNumDeaths, getObjectiveLocation, getScore, getTimeRemaining, getTotalRoundTime
public boolean isMissionFailed()
public java.lang.String[] getMissionLeft()
When this list is empty and isMissionFailed is false, your mission is complete, you should return to your Outpost and scan it for bonus points and a new mission.
public int[] getScanIdsInProgress()
ScanCommand
is
currently in progress for.public int[] getLastSuccessfulIds()
ScanCommand
successfully processed.
Will only be returned immediately after a successful scan and cleared.public java.lang.String toString()
toString
in class BasicGameInfo