Class SkyMilesScorer
java.lang.Object
org.deltava.beans.econ.EliteScorer
org.deltava.beans.econ.SkyMilesScorer
A flight scorer for Delta Virtual Airlines. This extends the default implementation by restricting flights to a maximum number of non-ACARS flights per month.
- Since:
- 11.0
- Version:
- 11.4
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.beans.econ.EliteScorer
_score -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(FlightReport fr) Adds a Flight Report.score(FlightReport fr, EliteLevel lvl) Scores a non-ACARS Flight Report.score(ScorePackage pkg, EliteLevel lvl) Scores a Flight Report.Methods inherited from class org.deltava.beans.econ.EliteScorer
addBonus, canScore, getInstance, getScore, getStatsYear, getStatusYear, isNewAirport, isNewCountry, isNewEquipment, isRollover, reset, setBase
-
Constructor Details
-
SkyMilesScorer
public SkyMilesScorer()
-
-
Method Details
-
add
Adds a Flight Report. This will calculate number of non-ACARS flights per month.- Overrides:
addin classEliteScorer- Parameters:
fr- the FlightReport
-
score
Description copied from class:EliteScorerScores a Flight Report.- Specified by:
scorein classEliteScorer- Parameters:
pkg- the ScorePackagelvl- the Pilot's current EliteLevel- Returns:
- the number of status points earned
-
score
Description copied from class:EliteScorerScores a non-ACARS Flight Report.- Specified by:
scorein classEliteScorer- Parameters:
fr- the FlightReportlvl- the Pilot's current EliteLevel- Returns:
- the number of status points earned
-