Uses of Class
edu.uky.cs.nil.tt.Agent
Packages that use Agent
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 provides some
utilities for serializing and deserializing objects as JSON.-
Uses of Agent in edu.uky.cs.nil.tt
Methods in edu.uky.cs.nil.tt that return AgentModifier and TypeMethodDescriptionprotected AgentAgent.getGM()Returns thegame masterfor this agent's session (which might be this agent or their partner), or null if this agent has not yet been matched.Agent.getPartner()Returns the other agent in this agent's session, or null if this agent has not yet been matched.Agent.getPlayer()Returns theplayerfor this agent's session (which might be this agent or their partner), or null if this agent has not yet been matched.Methods in edu.uky.cs.nil.tt with parameters of type AgentModifier and TypeMethodDescriptionprotected voidprotected voidServer.onDisconnect(Agent agent) Everyagentcalls this method exactly once after it hasdisconnectedfrom the server.protected voidThis method is called each time asessionends.protected voidAgent.onStart(WorldModel world, Agent gm, Agent player, Session session) protected voidServer.onStart(WorldModel world, Agent gm, Agent player) -
Uses of Agent in edu.uky.cs.nil.tt.io
Methods in edu.uky.cs.nil.tt.io that return AgentModifier and TypeMethodDescriptionMessage.getAgent()Returns theAgentwho sent this message, or null if this message was sent by the server.Methods in edu.uky.cs.nil.tt.io with parameters of type Agent