Package wizardquest.telemetry
Class GainCoinEvent
java.lang.Object
wizardquest.telemetry.TelemetryEvent
wizardquest.telemetry.SessionEvent
wizardquest.telemetry.EncounterEvent
wizardquest.telemetry.GainCoinEvent
-
Constructor Summary
ConstructorsConstructorDescriptionGainCoinEvent(String userID, int sessionID, Instant timeStamp, EncounterEnum encounterName, DifficultyEnum difficulty, int stageNumber, int coinsGained) Constructor for GainCoinEvent. -
Method Summary
Methods inherited from class wizardquest.telemetry.EncounterEvent
getDifficulty, getEncounter_name, getStage_numberMethods inherited from class wizardquest.telemetry.SessionEvent
getSessionIDMethods inherited from class wizardquest.telemetry.TelemetryEvent
getEvent, getTimestamp, getUserID
-
Constructor Details
-
GainCoinEvent
public GainCoinEvent(String userID, int sessionID, Instant timeStamp, EncounterEnum encounterName, DifficultyEnum difficulty, int stageNumber, int coinsGained) Constructor for GainCoinEvent.- Parameters:
userID- the ID of the user who is playing the game when the event is constructed.sessionID- the ID of the session the user is currently playing. See TelemetryListenerInterface for information about sessions.timeStamp- the time the event was constructed.encounterName- the name of the encounter a player is fighting.difficulty- the difficulty used for the player's session.stageNumber- the stage player is collecting coins on.coinsGained- number of coins gained by the player.
-
-
Method Details
-
getCoins_gained
public int getCoins_gained()Gets the stored number of coins gained.- Returns:
- number of coins gained.
-