Package | Description |
---|---|
com.tameif.tame |
Base package.
|
com.tameif.tame.element |
Contains the element types.
|
com.tameif.tame.element.context |
Contains context and state data for a TAME context.
|
Modifier and Type | Method and Description |
---|---|
TRoom |
TAMEModuleContext.getCurrentRoom()
Gets the current room.
|
TRoom |
TAMEModule.getRoomByIdentity(java.lang.String identity)
Retrieves a Room by identity.
|
TRoom |
TAMEModuleContext.resolveRoom(java.lang.String roomIdentity)
Resolves a room.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.util.Map.Entry<java.lang.String,TRoom>> |
TAMEModule.getRoomList() |
Modifier and Type | Method and Description |
---|---|
void |
TAMEModule.addRoom(TRoom room)
Adds a room to the module.
|
static void |
TAMELogic.doRoomPush(TAMERequest request,
TAMEResponse response,
TPlayer player,
TRoom nextRoom)
Attempts to perform a room stack push for a player.
|
static void |
TAMELogic.doRoomSwitch(TAMERequest request,
TAMEResponse response,
TPlayer player,
TRoom nextRoom)
Attempts to perform a room switch.
|
TRoomContext |
TAMEModuleContext.getRoomContext(TRoom room)
Gets a room context by room.
|
Modifier and Type | Method and Description |
---|---|
static TRoom |
TRoom.create(java.io.InputStream in)
Creates this object from an input stream, expecting its byte representation.
|
TRoom |
TRoom.getParent() |
Constructor and Description |
---|
TRoom(java.lang.String identity,
TRoom parent)
Creates an empty room.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<TPlayer,java.util.Deque<TRoom>> |
TOwnershipMap.playerToRoomStack
Room stack.
|
Modifier and Type | Method and Description |
---|---|
TRoom |
TOwnershipMap.getCurrentRoom()
Gets the current room by the current room id.
|
TRoom |
TOwnershipMap.getCurrentRoom(TPlayer player)
Returns the current room for a player.
|
TRoom |
TOwnershipMap.popRoomFromPlayer(TPlayer player)
Pops a room off of a player's room stack.
|
Modifier and Type | Method and Description |
---|---|
void |
TOwnershipMap.addPlayerToRoom(TPlayer player,
TRoom room)
Adds a player to a room and discards the stack.
|
boolean |
TOwnershipMap.checkPlayerHasRoomInStack(TPlayer player,
TRoom room)
Returns if a player is in a room (or room is in stack).
|
void |
TOwnershipMap.pushRoomOntoPlayer(TPlayer player,
TRoom room)
Pushes a room onto a player's room stack.
|
Constructor and Description |
---|
TRoomContext(TRoom room)
Creates a room context.
|