Uses of Class
edu.uky.cs.nil.tt.world.Status

Packages that use Status
Package
Description
Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over a network.
The IO (input/output) package defines the various message types that can be sent between a server and client and provide some utilities for serializing and deserializing objects as JSON.
Story worlds define the objects, concepts, and actions that exist in a story, and story world models define the logic for when actions can happen, how actions change the current state of world, when endings happen, etc.
  • Uses of Status in edu.uky.cs.nil.tt

    Methods in edu.uky.cs.nil.tt that return Status
    Modifier and Type
    Method
    Description
    Agent.getStatus()
    Returns the current status of the story for this agent's session, or null if this agent has not yet been matched.
    Methods in edu.uky.cs.nil.tt with parameters of type Status
    Modifier and Type
    Method
    Description
    protected abstract int
    Client.onChoice(Status status)
    This method is called each time it is this client's turn to make a choice in the story.
    protected int
    Test.RandomClient.onChoice(Status status)
     
    protected void
    Client.onUpdate(Status status)
    This method is called each time the story world changes as a result of a turn the client observes.
  • Uses of Status in edu.uky.cs.nil.tt.io

    Fields in edu.uky.cs.nil.tt.io declared as Status
    Modifier and Type
    Field
    Description
    final Status
    Update.status
    An object describing the history of the story so far, the current state of the story world, and what turns are available for the agent to take, if any
    Constructors in edu.uky.cs.nil.tt.io with parameters of type Status
    Modifier
    Constructor
    Description
     
    Update(Status status)
    Constructs a new update message with the story world's current status.
  • Uses of Status in edu.uky.cs.nil.tt.world

    Methods in edu.uky.cs.nil.tt.world that return Status
    Modifier and Type
    Method
    Description
    protected Status
    LogicalWorld.getStatus(Role role, Turn[] history, State actual, State observed)
    Calculates the ending (if any), entity descriptions, and turns available to include in a status.
    LogicalWorld.start(Role role)
     
    abstract Status
    WorldModel.start(Role role)
    Returns the initial state of the story world for a given role as a status object.
    LogicalWorld.transition(Status status, State actual, Turn turn)
     
    abstract Status
    WorldModel.transition(Status status, State actual, Turn turn)
    Given the current status of a story world (actual or perceived), the actual current status of a story world, and a turn, this method simulates that turn and returns the new perceived status of the story world.
    Methods in edu.uky.cs.nil.tt.world with parameters of type Status
    Modifier and Type
    Method
    Description
    LogicalWorld.transition(Status status, State actual, Turn turn)
     
    abstract Status
    WorldModel.transition(Status status, State actual, Turn turn)
    Given the current status of a story world (actual or perceived), the actual current status of a story world, and a turn, this method simulates that turn and returns the new perceived status of the story world.