Package wizardquest.telemetry
Class StartSessionEvent
java.lang.Object
wizardquest.telemetry.TelemetryEvent
wizardquest.telemetry.SessionEvent
wizardquest.telemetry.StartSessionEvent
-
Constructor Summary
ConstructorsConstructorDescriptionStartSessionEvent(String userID, int sessionID, Instant timeStamp, DifficultyEnum difficulty) Constructor for StartSessionEvent. -
Method Summary
Modifier and TypeMethodDescriptionGets the difficulty of the session.Methods inherited from class wizardquest.telemetry.SessionEvent
getSessionIDMethods inherited from class wizardquest.telemetry.TelemetryEvent
getEvent, getTimestamp, getUserID
-
Constructor Details
-
StartSessionEvent
public StartSessionEvent(String userID, int sessionID, Instant timeStamp, DifficultyEnum difficulty) Constructor for StartSessionEvent.- 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 in the format yyyy/mm/dd/hh/mm/ss.difficulty- the difficulty used for the player's session.source- the object that constructed the telemetry event.
-
-
Method Details
-
getDifficulty
Gets the difficulty of the session.- Returns:
- the difficulty of the session.
-