Class ServerStatus.Playing
java.lang.Object
edu.uky.cs.nil.tt.Duration.Ongoing
edu.uky.cs.nil.tt.ServerStatus.Playing
- All Implemented Interfaces:
Duration, Comparable<Duration>
- Enclosing class:
ServerStatus
A summary of a storytelling session that is currently running.
- Author:
- Stephen G. Ware
-
Nested Class Summary
Nested classes/interfaces inherited from interface Duration
Duration.Adapter, Duration.Ongoing -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Duration.Ongoing
compareTo, getEndTime, getStartTimeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Duration
getDuration
-
Field Details
-
gm
The name, title, and description of the game master agent -
player
The name, title, and description of the player agent -
world
The name, title, and description of the story world
-
-
Constructor Details
-
Playing
Constructs a summary of a running session from its important values.- Parameters:
gm- the name, title, and description of the game master agentplayer- the name, title, and description of the player agentworld- the name, title, and description of the story worldstart- the moment when the session started as the number of milliseconds from the epoch (1970-01-01T00:00:00Z) in Coordinated Universal Time (UTC)
-
Playing
Constructs a summary of a running session from a session object.- Parameters:
session- the running session to be summarized
-
-
Method Details
-
toString
- Overrides:
toStringin classDuration.Ongoing
-