Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

AbstractEvent - Class in com.roguecloud.events
Server-side interface, for internal use only! For the public client API, see IEvent.
AbstractEvent(long, long) - Constructor for class com.roguecloud.events.AbstractEvent
 
actionPerformed() - Method in class com.roguecloud.actions.CombatActionResponse
 
actionPerformed() - Method in class com.roguecloud.actions.DrinkItemActionResponse
 
actionPerformed() - Method in class com.roguecloud.actions.EquipActionResponse
 
actionPerformed() - Method in interface com.roguecloud.actions.IActionResponse
Returns true if the action was successfully performed, false otherwise.
actionPerformed() - Method in class com.roguecloud.actions.MoveInventoryItemActionResponse
 
actionPerformed() - Method in class com.roguecloud.actions.NullActionResponse
 
actionPerformed() - Method in class com.roguecloud.actions.StepActionResponse
 
ActionResponseFuture - Class in com.roguecloud
When you send an action to the server, an instance of this class is immediately returned to you, that is, sending an action does not synchronously block the calling method.
ActionResponseFuture() - Constructor for class com.roguecloud.ActionResponseFuture
 
addEffect(Effect) - Method in interface com.roguecloud.creatures.IMutableCreature
 
addEffect(Effect) - Method in class com.roguecloud.creatures.Monster
 
addEffect(Effect) - Method in class com.roguecloud.creatures.PlayerCreature
 
addNewSession(IManagedResource) - Method in class com.roguecloud.utils.ResourceLifecycleUtil
 
addToInventory(OwnableObject) - Method in interface com.roguecloud.creatures.IMutableCreature
 
addToInventory(OwnableObject) - Method in class com.roguecloud.creatures.Monster
 
addToInventory(OwnableObject) - Method in class com.roguecloud.creatures.PlayerCreature
 
AIUtils - Class in com.roguecloud.utils
Helper utility methods that coders may use to implement their agents.
AIUtils() - Constructor for class com.roguecloud.utils.AIUtils
 
AIUtils.FindClosestResult<T> - Class in com.roguecloud.utils
Simple utility class containing route data to creature or object
allowReplace(IManagedResource) - Method in interface com.roguecloud.utils.IManagedResource
 
Armour - Class in com.roguecloud.items
Armour is a type of item that reduces damage received in combat.
Armour(JsonArmour) - Constructor for class com.roguecloud.items.Armour
 
Armour(long, String, int, Armour.ArmourType, TileType) - Constructor for class com.roguecloud.items.Armour
 
Armour.ArmourType - Enum in com.roguecloud.items
A character may wear multiple pieces of armour at time, one for each type or slot.
ArmourSet - Class in com.roguecloud.items
This class may be called to determine what armour pieces another character (or your own character) have equipped.
ArmourSet() - Constructor for class com.roguecloud.items.ArmourSet
 
assertGameThread() - Static method in class com.roguecloud.RCRuntime
 
assertNotGameThread() - Static method in class com.roguecloud.RCRuntime
 
AStarSearch - Class in com.roguecloud.utils
This class may be used to find the shortest path between two positions on the map.
AStarSearch() - Constructor for class com.roguecloud.utils.AStarSearch
 
AStarSearchInterruptible - Class in com.roguecloud.utils
This class is principally for server-side use only.
AStarSearchInterruptible(Position, Position, IMap) - Constructor for class com.roguecloud.utils.AStarSearchInterruptible
 

B

BrowserWebSocketClientShared - Class in com.roguecloud
For internal use only
BrowserWebSocketClientShared() - Constructor for class com.roguecloud.BrowserWebSocketClientShared
 

C

calculateWeaponRating() - Method in class com.roguecloud.items.Weapon
May be used to determine how good a weapon is (the higher the better).
canReach(Position, Position, IMap) - Static method in class com.roguecloud.utils.AIUtils
Returns true if a creature at position ‘src’ can “reach” a player at position ‘dest’, and false otherwise.
CHECK - Static variable in class com.roguecloud.RCRuntime
 
CHECK_GAME_THREAD - Static variable in class com.roguecloud.RCRuntime
 
client(String) - Static method in class com.roguecloud.utils.LogContext
 
CLIENT_RECEIVED - Static variable in class com.roguecloud.utils.Logger
 
CLIENT_SENT - Static variable in class com.roguecloud.utils.Logger
 
cloneForRead() - Method in interface com.roguecloud.map.IMutableMap
 
cloneForRead() - Method in class com.roguecloud.map.RCArrayMap
 
cloneMap() - Method in class com.roguecloud.map.RCCloneMap
 
collapseOverlayIntoNewMap() - Method in class com.roguecloud.map.RCArrayMap
 
com.roguecloud - package com.roguecloud
 
com.roguecloud.actions - package com.roguecloud.actions
 
com.roguecloud.client - package com.roguecloud.client
 
com.roguecloud.creatures - package com.roguecloud.creatures
 
com.roguecloud.events - package com.roguecloud.events
 
com.roguecloud.items - package com.roguecloud.items
 
com.roguecloud.map - package com.roguecloud.map
 
com.roguecloud.utils - package com.roguecloud.utils
 
CombatAction - Class in com.roguecloud.actions
To attack another creature, create this object and send it with the client sendAction(…) method.
CombatAction(ICreature) - Constructor for class com.roguecloud.actions.CombatAction
 
CombatActionEvent - Class in com.roguecloud.events
An attack between two characters that occurred in the world.
CombatActionEvent(ICreature, ICreature, boolean, long, long, long) - Constructor for class com.roguecloud.events.CombatActionEvent
 
CombatActionResponse - Class in com.roguecloud.actions
When a combat action occurs, this response indicates whether it succeeded (HIT/MISS), and if hit then how much damage was done.
CombatActionResponse(CombatActionResponse.CombatActionResult, int, ICreature) - Constructor for class com.roguecloud.actions.CombatActionResponse
 
CombatActionResponse.CombatActionResult - Enum in com.roguecloud.actions
Whether the combat action succeeded, or failed (and why it failed)
CompressionUtils - Class in com.roguecloud.utils
For internal server use only: deflate compression and decompression, tuned for high CPU throughput.
CompressionUtils() - Constructor for class com.roguecloud.utils.CompressionUtils
 
compressToByteBuffer(String) - Static method in class com.roguecloud.utils.CompressionUtils
 
Console - Class in com.roguecloud.utils
Utility methods that can be used to print to the console; the actual console write operation is passed to InnerConsole, which will write on a separate thread.
Console() - Constructor for class com.roguecloud.utils.Console
 
containedInBox(Position, int, int, int, int) - Static method in class com.roguecloud.Position
Whether the given position is contained with a box: (startX, startY) -> (startX+width-1, startY+height-1)
containedInBoxCoords(Position, int, int, int, int) - Static method in class com.roguecloud.Position
Whether the given position is contained with a box: (startX, startY) -> (endX, endY), inclusive of endX and endY.
continueSearch(long) - Method in class com.roguecloud.utils.AStarSearchInterruptible
Returns true if search complete, false otherwise
convertTileToString(T) - Method in interface com.roguecloud.utils.SimpleMap.SimpleMapPrettyPrint
 
convertToLong(Object) - Static method in class com.roguecloud.RCRuntime
 
Coord - Class in com.roguecloud.utils
Internal use only
Coord(int, int) - Constructor for class com.roguecloud.utils.Coord
 

D

decompressToString(byte[]) - Static method in class com.roguecloud.utils.CompressionUtils
 
dispose() - Method in class com.roguecloud.client.EventLog
 
dispose() - Method in class com.roguecloud.map.RCCloneMap
 
dispose() - Method in interface com.roguecloud.utils.IManagedResource
 
distanceBetween(Position) - Method in class com.roguecloud.Position
Returns the absolute distance between two points
DoorTerrain - Class in com.roguecloud.map
For internal use
DoorTerrain(TileType, boolean) - Constructor for class com.roguecloud.map.DoorTerrain
 
DoorTileProperty - Class in com.roguecloud.map
For internal use
DoorTileProperty() - Constructor for class com.roguecloud.map.DoorTileProperty
 
DoorTileProperty(JsonDoorProperty) - Constructor for class com.roguecloud.map.DoorTileProperty
 
DoorTileProperty(boolean) - Constructor for class com.roguecloud.map.DoorTileProperty
 
doSearch(Position, Position, IMap) - Static method in class com.roguecloud.utils.FastPathSearch
 
doSearchWithAStar(Position, Position, IMap) - Static method in class com.roguecloud.utils.FastPathSearch
 
doSearchWithAStar(Position, Position, long, IMap) - Static method in class com.roguecloud.utils.FastPathSearch
 
DrinkableItem - Class in com.roguecloud.items
An item that can be drank, such as a potion, and that has a positive or negative effect on the affected character.
DrinkableItem(TileType, Effect, long) - Constructor for class com.roguecloud.items.DrinkableItem
 
DrinkableItem(JsonDrinkableItem) - Constructor for class com.roguecloud.items.DrinkableItem
 
DrinkItemAction - Class in com.roguecloud.actions
To drink a potion that is in your inventory, create this object and send it with client sendAction(…) method.
DrinkItemAction(OwnableObject) - Constructor for class com.roguecloud.actions.DrinkItemAction
 
DrinkItemActionEvent - Class in com.roguecloud.events
when a character drinks a potion, this is recorded in this class as a world event.
DrinkItemActionEvent(ICreature, DrinkableItem, long, long) - Constructor for class com.roguecloud.events.DrinkItemActionEvent
 
DrinkItemActionResponse - Class in com.roguecloud.actions
When a character drinks a potion, this value will be returned indicating the result.
DrinkItemActionResponse(boolean, long, Effect) - Constructor for class com.roguecloud.actions.DrinkItemActionResponse
 
dumpMap(IMap, int, int, int, int) - Static method in class com.roguecloud.RCRuntime
 
dumpMap(SimpleMap.SimpleMapPrettyPrint<T>) - Method in class com.roguecloud.utils.SimpleMap
 

E

Effect - Class in com.roguecloud.items
Some items, such as potions, have a direct effect on the user of that item.
Effect(Effect.EffectType, int) - Constructor for class com.roguecloud.items.Effect
 
Effect(JsonEffect) - Constructor for class com.roguecloud.items.Effect
 
Effect.EffectType - Enum in com.roguecloud.items
The type of effect: does it heal or hurt, increase/decrease armour, etc.
ENABLE_LATENCY_SIM - Static variable in class com.roguecloud.RCRuntime
 
ENABLED - Static variable in class com.roguecloud.NG
 
equals(Object) - Method in class com.roguecloud.creatures.Monster
 
equals(Object) - Method in class com.roguecloud.creatures.PlayerCreature
 
equals(Object) - Method in class com.roguecloud.items.GroundObject
 
equals(Object) - Method in class com.roguecloud.items.OwnableObject
 
equals(Object) - Method in class com.roguecloud.items.Weapon
 
equals(Object) - Method in class com.roguecloud.Position
 
equals(Object) - Method in class com.roguecloud.utils.Coord
 
EquipAction - Class in com.roguecloud.actions
To equip weapons or armour from your inventory, create this object and send it with the client sendAction(…) method.
EquipAction(OwnableObject) - Constructor for class com.roguecloud.actions.EquipAction
 
EquipActionEvent - Class in com.roguecloud.events
When a character equips an item (weapon or armour), this will be recorded as a world event within this class.
EquipActionEvent(IObject, ICreature, long, long) - Constructor for class com.roguecloud.events.EquipActionEvent
 
EquipActionResponse - Class in com.roguecloud.actions
When a character equips an item (weapon/armour), the object will be returned indicating the result.
EquipActionResponse(boolean, long) - Constructor for class com.roguecloud.actions.EquipActionResponse
 
err(String, LogContext) - Static method in class com.roguecloud.utils.Console
 
err(String, LogContext) - Method in class com.roguecloud.utils.Logger
 
err(String, Throwable, LogContext) - Method in class com.roguecloud.utils.Logger
 
EventLog - Class in com.roguecloud.client
See IEventLog for a description of the public interface of this method.
EventLog(int) - Constructor for class com.roguecloud.client.EventLog
 

F

FastPathSearch - Class in com.roguecloud.utils
For the vast majority of cases, the AStarSearch class is preferable to this class for game client code.
FastPathSearch() - Constructor for class com.roguecloud.utils.FastPathSearch
 
findAndSortGroundObjectsInRange(int, int, Position, IMap) - Static method in class com.roguecloud.utils.AIUtils
Locate ground objects around the given position, and return them as a sorted list (closest are first in the list).
findClosestCreatureThatCanBeReached(IMap, WorldState, SelfState) - Static method in class com.roguecloud.utils.AIUtils
Returns the closest accessible creature from your current position.
findClosestGroundObjectThatCanBeReached(IMap, WorldState, SelfState) - Static method in class com.roguecloud.utils.AIUtils
Returns the closest accessible ground objects from your current position.
FindClosestResult(List<Position>, T) - Constructor for class com.roguecloud.utils.AIUtils.FindClosestResult
 
findCreaturesInRange(int, int, Position, IMap) - Static method in class com.roguecloud.utils.AIUtils
Return an unsorted list of alive creatures that are within range of the viewWidth/viewHeight of myPos.
findCreaturesInRange(int, IMap, Position) - Static method in class com.roguecloud.utils.AIUtils
Return an unsorted list of creatures that are in a specific range (measured in # of tiles) from myPos on the map.
findCreaturesInRectangle(int, int, int, int, Position, IMap) - Static method in class com.roguecloud.utils.AIUtils
Return an unsorted list of creatures that are in the bounds of the rectangle (startX, startY) to (endX, endY) inclusive, on the map.
findPath(Position, Position, IMap) - Static method in class com.roguecloud.utils.AStarSearch
Find a path between two points on a map.
findPath(Position, Position, long, IMap) - Static method in class com.roguecloud.utils.AStarSearch
Find a path between two points on a map.
findRandomPositionOnMap(int, int, int, int, boolean, IMap) - Static method in class com.roguecloud.utils.AIUtils
Find a random position on the map, between the coordinates (x1, y1) to (x2, y2).
fullClone() - Method in interface com.roguecloud.creatures.IMutableCreature
 
fullClone() - Method in class com.roguecloud.creatures.Monster
 
fullClone() - Method in class com.roguecloud.creatures.PlayerCreature
 
fullClone() - Method in class com.roguecloud.items.ArmourSet
 
fullClone() - Method in class com.roguecloud.items.Effect
 
fullClone() - Method in class com.roguecloud.map.DoorTileProperty
 
fullClone() - Method in interface com.roguecloud.map.ITilePropertyMutable
 

G

GAME_TICKS - Static variable in class com.roguecloud.RCRuntime
 
generateBrowserJson(int, int, int, int, int, int, IMap, List<Position>, List<ICreature>, long, JsonBuilderFactory) - Static method in class com.roguecloud.BrowserWebSocketClientShared
This class/method is used by both the client and the server, and will be run on both the game thread and the client message thread.
get(Armour.ArmourType) - Method in class com.roguecloud.items.ArmourSet
Return an equipped piece of armour of the specified type, or null if no armour is equipped of that type.
get() - Method in class com.roguecloud.items.GroundObject
 
get() - Method in interface com.roguecloud.items.IGroundObject
The object laying on the ground.
get() - Method in class com.roguecloud.utils.AIUtils.FindClosestResult
 
getActionType() - Method in class com.roguecloud.actions.CombatAction
 
getActionType() - Method in class com.roguecloud.actions.DrinkItemAction
 
getActionType() - Method in class com.roguecloud.actions.EquipAction
 
getActionType() - Method in interface com.roguecloud.actions.IAction
 
getActionType() - Method in class com.roguecloud.actions.MoveInventoryItemAction
 
getActionType() - Method in class com.roguecloud.actions.NullAction
 
getActionType() - Method in class com.roguecloud.actions.StepAction
 
getActionType() - Method in class com.roguecloud.events.CombatActionEvent
 
getActionType() - Method in class com.roguecloud.events.DrinkItemActionEvent
 
getActionType() - Method in class com.roguecloud.events.EquipActionEvent
 
getActionType() - Method in interface com.roguecloud.events.IEvent
What type of event is it? This will match one of the event types in the com.roguecloud.events package.
getActionType() - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
 
getActionType() - Method in class com.roguecloud.events.StepActionEvent
 
getActiveEffects() - Method in interface com.roguecloud.creatures.ICreature
Return the active effects that are on the creature.
getActiveEffects() - Method in class com.roguecloud.creatures.Monster
 
getActiveEffects() - Method in class com.roguecloud.creatures.PlayerCreature
 
getAll() - Method in class com.roguecloud.items.ArmourSet
Returns list of all the equppied armour, or an empty list if none is equippred.
getAllEvents() - Method in class com.roguecloud.client.EventLog
 
getAllEvents() - Method in interface com.roguecloud.client.IEventLog
Return a list of all events in the log.
getArmour() - Method in interface com.roguecloud.creatures.ICreature
What armour does the creature have equipped?
getArmour() - Method in class com.roguecloud.creatures.Monster
 
getArmour() - Method in class com.roguecloud.creatures.PlayerCreature
 
getAttackDiceSize() - Method in class com.roguecloud.items.Weapon
The size of the attack dice (see class description for details.)
getAttacker() - Method in class com.roguecloud.events.CombatActionEvent
The attacking creature
getAttackPlus() - Method in class com.roguecloud.items.Weapon
The damage addition after the attack dice rolls (see class description for details.)
getByName(String) - Static method in enum com.roguecloud.items.Armour.ArmourType
 
getByName(String) - Static method in enum com.roguecloud.items.Weapon.WeaponType
 
getClientUuid() - Method in class com.roguecloud.utils.LogContext
 
getContainedObject() - Method in class com.roguecloud.items.OwnableObject
The object that is owned by the player, and in their inventory: an instance of Armour, Weapon or DrinkableItem.
getContext() - Method in class com.roguecloud.utils.LogContext
 
getCreature() - Method in class com.roguecloud.actions.CombatActionResponse
The creatue attacked.
getCreature() - Method in class com.roguecloud.events.DrinkItemActionEvent
Get the creature that drank the item.
getCreature() - Method in class com.roguecloud.events.EquipActionEvent
Returns the specific creature that equipped the item.
getCreature() - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
The creature that picked up or drooped the item.
getCreature() - Method in class com.roguecloud.events.StepActionEvent
 
getCreatures() - Method in class com.roguecloud.map.Tile
Return a list of creatures that are on the tile.
getCreaturesForModification() - Method in class com.roguecloud.map.Tile
 
getCreaturesInvolved() - Method in class com.roguecloud.events.CombatActionEvent
Return a list of all the creatures involved in the event.
getCreaturesInvolved() - Method in class com.roguecloud.events.DrinkItemActionEvent
Return a list of all the creatures involved in the event.
getCreaturesInvolved() - Method in class com.roguecloud.events.EquipActionEvent
Return a list of all the creatures involved in the event.
getCreaturesInvolved() - Method in interface com.roguecloud.events.IEvent
Return all creatures involved in this event: for an attack event this is both the attacker/defender, while for other actions this will only include the character that performed the action.
getCreaturesInvolved() - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
Return a list of all the creatures involved in the event.
getCreaturesInvolved() - Method in class com.roguecloud.events.StepActionEvent
Return a list of all the creatures involved in the event.
getCurrentGameTick() - Method in class com.roguecloud.client.WorldState
How many frames (ticks) has the game engine processed? This starts at 0 and increases monotonically, with no duplicates.
getCurrHp() - Method in class com.roguecloud.creatures.PlayerCreature
 
getDamageDealt() - Method in class com.roguecloud.actions.CombatActionResponse
The amount of damage done in combat.
getDamageDone() - Method in class com.roguecloud.events.CombatActionEvent
How much damage was done by the attack, if any.
getDefender() - Method in class com.roguecloud.events.CombatActionEvent
The defending creature.
getDefense() - Method in class com.roguecloud.items.Armour
The defense stat of the item: during combat, the defense stats of all equipped items are aggregated and used to reduce incoming damage.
getDestPosition() - Method in class com.roguecloud.actions.StepAction
 
getDrinkableItem() - Method in class com.roguecloud.events.DrinkItemActionEvent
Return the item that was drank by the character.
getEffect() - Method in class com.roguecloud.actions.DrinkItemActionResponse
 
getEffect() - Method in class com.roguecloud.items.DrinkableItem
The effect of drinking the potion may be retrieved by calling this method.
(Internal note only: Object may be mutated through the returned reference)
getElapsedTimeInNanos() - Method in class com.roguecloud.utils.AStarSearchInterruptible
 
getEquippedObject() - Method in class com.roguecloud.events.EquipActionEvent
Returns the specific item that was equipped.
getEventId() - Method in class com.roguecloud.events.AbstractEvent
 
getEventId() - Method in interface com.roguecloud.events.IMutableEvent
 
getFailReason() - Method in class com.roguecloud.actions.StepActionResponse
 
getFrame() - Method in class com.roguecloud.events.AbstractEvent
 
getFrame() - Method in interface com.roguecloud.events.IEvent
Which frame (also known as a tick) of the game did the event occur at?
getFrom() - Method in class com.roguecloud.events.StepActionEvent
The source position
getGroundObjectForModification() - Method in class com.roguecloud.map.Tile
 
getGroundObjects() - Method in class com.roguecloud.map.Tile
Return a list of ground objects that are on the tile.
getHitRating() - Method in class com.roguecloud.items.Weapon
How likely a weapon is to hit armour (see class description for details.)
getHp() - Method in interface com.roguecloud.creatures.ICreature
The current health of a character; is this value is 0 then the character is dead.
getHp() - Method in class com.roguecloud.creatures.Monster
 
getHp() - Method in class com.roguecloud.creatures.PlayerCreature
 
getId() - Method in class com.roguecloud.actions.DrinkItemActionResponse
 
getId() - Method in interface com.roguecloud.creatures.ICreature
A unique id for the creature; this will not change, and no other creatures will have this same ID.
getId() - Method in class com.roguecloud.creatures.Monster
 
getId() - Method in class com.roguecloud.creatures.PlayerCreature
 
getId() - Method in class com.roguecloud.items.Armour
A unique ID for this particular item.
getId() - Method in class com.roguecloud.items.DrinkableItem
A unique ID for this specific item.
getId() - Method in class com.roguecloud.items.GroundObject
 
getId() - Method in interface com.roguecloud.items.IGroundObject
Unique object id
getId() - Method in interface com.roguecloud.items.IObject
Unique ID of the object
getId() - Method in class com.roguecloud.items.OwnableObject
Unique ID for the object
getId() - Method in class com.roguecloud.items.Weapon
 
getId() - Method in interface com.roguecloud.utils.IManagedResource
 
getInstance() - Static method in class com.roguecloud.NG
 
getInstance() - Static method in class com.roguecloud.utils.InnerConsole
 
getInstance() - Static method in class com.roguecloud.utils.Logger
 
getInstance() - Static method in class com.roguecloud.utils.ResourceLifecycleUtil
 
getInventory() - Method in interface com.roguecloud.creatures.ICreature
Return a list of objects are in the creature’s inventory (NOTE: You can only see your own inventory, not other creatures!)
getInventory() - Method in class com.roguecloud.creatures.Monster
 
getInventory() - Method in class com.roguecloud.creatures.PlayerCreature
 
getLastTickUpdated(IMap) - Method in interface com.roguecloud.creatures.ICreature
If a creature has not been recently seen by the character, it is called ‘stale’.
getLastTickUpdated(IMap) - Method in class com.roguecloud.creatures.Monster
 
getLastTickUpdated(IMap) - Method in class com.roguecloud.creatures.PlayerCreature
 
getLastTickUpdated(IMap) - Method in class com.roguecloud.items.GroundObject
 
getLastTickUpdated(IMap) - Method in interface com.roguecloud.items.IGroundObject
If a ground object has not been recently seen by the character, it is called ‘stale’.
getLastTickUpdated() - Method in class com.roguecloud.map.Tile
This contains the most recent game engine frame that a tile was seen.
getLastTurnSelfEvents(ICreature, WorldState) - Method in class com.roguecloud.client.EventLog
 
getLastTurnSelfEvents(ICreature, WorldState) - Method in interface com.roguecloud.client.IEventLog
Return a list of all the events that occurred in the last turn that involved a specific creature (us).
getLastTurnWorldEvents(WorldState) - Method in class com.roguecloud.client.EventLog
 
getLastTurnWorldEvents(WorldState) - Method in interface com.roguecloud.client.IEventLog
Return a list of all the events that occurred in the last turn (Note this only includes those that were visible to the agent)
getLastXTurnsSelfEvents(int, ICreature, WorldState) - Method in class com.roguecloud.client.EventLog
 
getLastXTurnsSelfEvents(int, ICreature, WorldState) - Method in interface com.roguecloud.client.IEventLog
Return a list of all the events that involved a specific creature (us), that occurred in the last X turns.
getLastXTurnsWorldEvents(int, WorldState) - Method in class com.roguecloud.client.EventLog
 
getLastXTurnsWorldEvents(int, WorldState) - Method in interface com.roguecloud.client.IEventLog
Return a list of all the events that occurred in the last X turns (Note this only includes those that were visible to the agent)
getLevel() - Method in interface com.roguecloud.creatures.ICreature
(Monsters only) What is the level of this character? A higher level implies they are better equipped to give and receive damage.
getLevel() - Method in class com.roguecloud.creatures.Monster
 
getLevel() - Method in class com.roguecloud.creatures.PlayerCreature
 
getMagnitude() - Method in class com.roguecloud.items.Effect
The strength of the effect: for positive effects, larger is better.
getMap() - Method in class com.roguecloud.client.WorldState
Return the agent’s view of the game world.
getMaxHp() - Method in interface com.roguecloud.creatures.ICreature
The maximum health of a character
getMaxHp() - Method in class com.roguecloud.creatures.Monster
 
getMaxHp() - Method in class com.roguecloud.creatures.PlayerCreature
 
getName() - Method in interface com.roguecloud.creatures.ICreature
Returns the name of the creature, for example, the name of another player.
getName() - Method in class com.roguecloud.creatures.Monster
 
getName() - Method in class com.roguecloud.creatures.PlayerCreature
 
getName() - Method in enum com.roguecloud.items.Armour.ArmourType
 
getName() - Method in class com.roguecloud.items.Armour
Name of the item
getName() - Method in class com.roguecloud.items.DrinkableItem
Return a user friendly description of the potion, it’s effect, magnitude, and duration.
getName() - Method in class com.roguecloud.items.Effect
 
getName() - Method in interface com.roguecloud.items.IObject
The name of the object (for example, Short Sword)
getName() - Method in class com.roguecloud.items.Weapon
 
getName() - Method in enum com.roguecloud.items.Weapon.WeaponType
 
getNegativeEffect() - Method in enum com.roguecloud.items.Effect.EffectType
 
getNewPosition() - Method in class com.roguecloud.actions.StepActionResponse
If the step succeeded, what is our new character position?
getNumAttackDice() - Method in class com.roguecloud.items.Weapon
The number of rolls of the attack dice (see class description for details.)
getNumber() - Method in class com.roguecloud.map.TileType
 
getObject() - Method in class com.roguecloud.actions.DrinkItemAction
 
getObject() - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
The object that was picked up or dropped.
getObjectId() - Method in class com.roguecloud.actions.EquipActionResponse
 
getObjectId() - Method in class com.roguecloud.actions.MoveInventoryItemAction
 
getObjectId() - Method in class com.roguecloud.actions.MoveInventoryItemActionResponse
 
getObjectType() - Method in class com.roguecloud.items.Armour
 
getObjectType() - Method in class com.roguecloud.items.DrinkableItem
 
getObjectType() - Method in interface com.roguecloud.items.IObject
The type of the object, which can be used to determine which class it is: Armour, Weapon, or DrinkableItem.
getObjectType() - Method in class com.roguecloud.items.Weapon
 
getOrReturnNullIfNoResponse() - Method in class com.roguecloud.ActionResponseFuture
Returns an IActionResponse if one has been received from the server, or null otherwise.
getOrWaitForResponse() - Method in class com.roguecloud.ActionResponseFuture
Blocks until an IActionResponse is received from the server.
getOrWaitForResponse(long, TimeUnit) - Method in class com.roguecloud.ActionResponseFuture
Blocks until an IActionResponse is received from the server, or until timeout (in which case null is returned).
getOwnableObject() - Method in class com.roguecloud.actions.EquipAction
 
getPlayer() - Method in class com.roguecloud.client.SelfState
Get an object representing the most recent state of the player character
getPosition() - Method in interface com.roguecloud.creatures.ICreature
The position in the world of the creature.
getPosition() - Method in interface com.roguecloud.creatures.IExistsInWorld
Return the position of the entity in the world
getPosition() - Method in class com.roguecloud.creatures.Monster
 
getPosition() - Method in class com.roguecloud.creatures.PlayerCreature
 
getPosition() - Method in class com.roguecloud.items.GroundObject
 
getPositiveEffect() - Method in enum com.roguecloud.items.Effect.EffectType
 
getRemainingSecondsInRound() - Method in class com.roguecloud.client.WorldState
The number of seconds remaining in the round.
getRemainingTurns() - Method in class com.roguecloud.items.Effect
How many turns will the effect last on the creature
getResult() - Method in class com.roguecloud.actions.CombatActionResponse
Whether the attack was successful
getResult() - Method in class com.roguecloud.utils.AStarSearchInterruptible
 
getRotation() - Method in class com.roguecloud.map.TileType
 
getRoute() - Method in class com.roguecloud.utils.AIUtils.FindClosestResult
 
getTarget() - Method in class com.roguecloud.actions.CombatAction
The desired target of the attack
getTile(Position) - Method in interface com.roguecloud.map.IMap
Get the tile at the specified position, or null if not found.
getTile(int, int) - Method in interface com.roguecloud.map.IMap
Get the tile at the specified position, or null if not found.
getTile(Position) - Method in class com.roguecloud.map.RCArrayMap
 
getTile(int, int) - Method in class com.roguecloud.map.RCArrayMap
 
getTile(Position) - Method in class com.roguecloud.map.RCCloneMap
 
getTile(int, int) - Method in class com.roguecloud.map.RCCloneMap
 
getTile(int, int) - Method in class com.roguecloud.utils.SimpleMap
 
getTileForWrite(int, int) - Method in interface com.roguecloud.map.IMutableMap
 
getTileForWrite(Position) - Method in interface com.roguecloud.map.IMutableMap
 
getTileForWrite(Position) - Method in class com.roguecloud.map.RCArrayMap
 
getTileForWrite(int, int) - Method in class com.roguecloud.map.RCArrayMap
 
getTileForWriteUnchecked(Position) - Method in interface com.roguecloud.map.IMutableMap
 
getTileForWriteUnchecked(Position) - Method in class com.roguecloud.map.RCArrayMap
 
getTileProperties() - Method in class com.roguecloud.map.Tile
 
getTilePropertiesForModification() - Method in class com.roguecloud.map.Tile
 
getTileType() - Method in interface com.roguecloud.creatures.IExistsInWorld
Return the tile sprite data values.
getTileType() - Method in class com.roguecloud.creatures.Monster
 
getTileType() - Method in class com.roguecloud.creatures.PlayerCreature
 
getTileType() - Method in class com.roguecloud.items.Armour
 
getTileType() - Method in class com.roguecloud.items.DrinkableItem
 
getTileType() - Method in class com.roguecloud.items.GroundObject
 
getTileType() - Method in interface com.roguecloud.items.IObject
For internal use only: the graphical tile that represents the object.
getTileType() - Method in class com.roguecloud.items.Weapon
 
getTileType() - Method in class com.roguecloud.map.DoorTerrain
 
getTileType() - Method in class com.roguecloud.map.ImmutableImpassableTerrain
 
getTileType() - Method in class com.roguecloud.map.ImmutablePassableTerrain
 
getTileType() - Method in interface com.roguecloud.map.ITerrain
 
getTileType() - Method in class com.roguecloud.map.WallTerrain
 
getTileTypeLayers() - Method in class com.roguecloud.map.Tile
 
getTo() - Method in class com.roguecloud.events.StepActionEvent
The destination position (usually up, down, left or right of the source position )
getType() - Method in class com.roguecloud.actions.MoveInventoryItemActionResponse
 
getType() - Method in class com.roguecloud.items.Armour
What type of armous is it? Head, Chest, Legs, Feet, etc?
getType() - Method in class com.roguecloud.items.Effect
 
getType() - Method in class com.roguecloud.items.Weapon
A weapon may be one-handed or two-handed.
getType() - Method in class com.roguecloud.map.DoorTileProperty
 
getType() - Method in interface com.roguecloud.map.ITileProperty
 
getValidNeighbouringPositions(Position, IMap) - Static method in class com.roguecloud.utils.AIUtils
Return a valid list of Positions that can be reached, or moved to, from the position ‘p’ on the map.
getValue() - Method in enum com.roguecloud.utils.Logger.Level
 
getValues() - Static method in class com.roguecloud.map.TileType
 
getViewHeight() - Method in class com.roguecloud.client.WorldState
The overall height of the view of the world that the agent can see.
getViewWidth() - Method in class com.roguecloud.client.WorldState
The overall width of the view of the world that the agent can see.
getViewXPos() - Method in class com.roguecloud.client.WorldState
The top left x coordinate of the view rectangle box, of what the agent can see in the world.
getViewYPos() - Method in class com.roguecloud.client.WorldState
The top left y coordinate of the view rectangle box, of what the agent can see in the world.
getWeapon() - Method in interface com.roguecloud.creatures.ICreature
What weapon does the creature have equipped?
getWeapon() - Method in class com.roguecloud.creatures.Monster
 
getWeapon() - Method in class com.roguecloud.creatures.PlayerCreature
 
getWorldHeight() - Method in class com.roguecloud.client.WorldState
The height of the full world.
getWorldLocation() - Method in class com.roguecloud.events.CombatActionEvent
The coordinates on the map at which that the event occurred.
getWorldLocation() - Method in class com.roguecloud.events.DrinkItemActionEvent
The coordinates on the map at which the event occurred.
getWorldLocation() - Method in class com.roguecloud.events.EquipActionEvent
The coordinates on the map at which that the event occurred.
getWorldLocation() - Method in interface com.roguecloud.events.IEvent
What specific tile did this event occur at? (For example, where was the character when they were attacked?)
getWorldLocation() - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
The coordinates on the map at which that the event occurred.
getWorldLocation() - Method in class com.roguecloud.events.StepActionEvent
The coordinates on the map at which that the event occurred.
getWorldWidth() - Method in class com.roguecloud.client.WorldState
The width of the full world.
getX() - Method in class com.roguecloud.Position
 
getX() - Method in class com.roguecloud.utils.Coord
 
getXSize() - Method in interface com.roguecloud.map.IMap
Get the total width of the world map
getXSize() - Method in class com.roguecloud.map.RCArrayMap
 
getXSize() - Method in class com.roguecloud.map.RCCloneMap
 
getXSize() - Method in class com.roguecloud.utils.SimpleMap
 
getY() - Method in class com.roguecloud.Position
 
getY() - Method in class com.roguecloud.utils.Coord
 
getYSize() - Method in interface com.roguecloud.map.IMap
Get the total height of the world map
getYSize() - Method in class com.roguecloud.map.RCArrayMap
 
getYSize() - Method in class com.roguecloud.map.RCCloneMap
 
getYSize() - Method in class com.roguecloud.utils.SimpleMap
 
GroundObject - Class in com.roguecloud.items
An object that exists on the ground in the world.
GroundObject(long, IObject, Position) - Constructor for class com.roguecloud.items.GroundObject
 

H

hashCode() - Method in class com.roguecloud.creatures.Monster
 
hashCode() - Method in class com.roguecloud.creatures.PlayerCreature
 
hashCode() - Method in class com.roguecloud.items.GroundObject
 
hashCode() - Method in class com.roguecloud.items.OwnableObject
 
hashCode() - Method in class com.roguecloud.Position
 
hashCode() - Method in class com.roguecloud.utils.Coord
 

I

IAction - Interface in com.roguecloud.actions
The IAction interface, and the *Action classes (CombatAction/DrinkItemAction/etc) correspond to actions that your character performs in the world.
IAction.ActionType - Enum in com.roguecloud.actions
To determine which type/class the action is, call getActionType() on an IAction.
IActionResponse - Interface in com.roguecloud.actions
When an action (a creature is attacked, a potion is drank, a creature moves) is sent to the server, the server will respond with whether or the action succeeded.
IClient - Interface in com.roguecloud.client
This interface is implemented by the client API, to allow agents to receive the latest self/world information (from the stateUpdate(…) method) and allow agents to send actions to be performed by their character in the game world.
ICreature - Interface in com.roguecloud.creatures
This object represents a character in the world, whether it be your character, another player’s character, or a enemy monster.
IEvent - Interface in com.roguecloud.events
This object corresponds to an event that occurred in the world, such as an attack, a character move, the drinking of a potion, etc.
IEvent.EventType - Enum in com.roguecloud.events
All the type of events that may occur in the world, corresponding to player/creature actions.
IEventLog - Interface in com.roguecloud.client
This class may be used to retrieve all the events that occurred in the last one or more game engine frames.
IExistsInWorld - Interface in com.roguecloud.creatures
A simple interface that exists on various entity classes in the universe.
IGroundObject - Interface in com.roguecloud.items
Represents an object laying on the ground at an in-world coordinate (eg it is not in someone’s inventory, or in a container).
IManagedResource - Interface in com.roguecloud.utils
For internal server use only
IMap - Interface in com.roguecloud.map
The agent’s view of the game world.
ImmutableImpassableTerrain - Class in com.roguecloud.map
Terrain that cannot be moved on to.
ImmutableImpassableTerrain(TileType) - Constructor for class com.roguecloud.map.ImmutableImpassableTerrain
 
ImmutablePassableTerrain - Class in com.roguecloud.map
Terrain that may be moved on to.
ImmutablePassableTerrain(TileType) - Constructor for class com.roguecloud.map.ImmutablePassableTerrain
 
IMutableCreature - Interface in com.roguecloud.creatures
Server-side interface for internal use only, see ICreature for the public client API
IMutableEvent - Interface in com.roguecloud.events
Server-side interface, for internal use only! For the public client API, see IEvent.
IMutableMap - Interface in com.roguecloud.map
The mutable interface for a map implementation.
info(String, LogContext) - Method in class com.roguecloud.utils.Logger
 
info(String, Exception, LogContext) - Method in class com.roguecloud.utils.Logger
 
infoWithStackTrace(String, LogContext) - Method in class com.roguecloud.utils.Logger
 
InnerConsole - Class in com.roguecloud.utils
For internal use only.
INSTANCE - Static variable in class com.roguecloud.actions.NullAction
 
INSTANCE - Static variable in class com.roguecloud.actions.NullActionResponse
 
interesting(String, LogContext) - Method in class com.roguecloud.utils.Logger
 
internalAddEvents(List<IEvent>) - Method in class com.roguecloud.client.EventLog
 
internalClearOldEvents(long) - Method in class com.roguecloud.client.EventLog
 
internalGetMessageId() - Method in class com.roguecloud.ActionResponseFuture
 
internalSetMessageId(long) - Method in class com.roguecloud.ActionResponseFuture
 
internalSetResponse(IActionResponse) - Method in class com.roguecloud.ActionResponseFuture
 
internalUpdateFromJson(JsonVisibleCreature, ArmourSet, Weapon) - Method in class com.roguecloud.creatures.Monster
 
internalUpdateFromJson(JsonVisibleCreature, ArmourSet, Weapon) - Method in class com.roguecloud.creatures.PlayerCreature
 
IObject - Interface in com.roguecloud.items
This is the parent interface for all objects.
IObject.ObjectType - Enum in com.roguecloud.items
The type of the object, which can be used to determine which class it is: Armour, Weapon, or DrinkableItem.
isClonedForRead() - Method in class com.roguecloud.map.RCArrayMap
 
isCreatureInvolved(ICreature) - Method in class com.roguecloud.events.CombatActionEvent
Returns true if the specified creature was involved in this event (was the attacker or defender), or false otherwise.
isCreatureInvolved(ICreature) - Method in class com.roguecloud.events.DrinkItemActionEvent
Returns true if the specified creature was involved in this event, or false otherwise.
isCreatureInvolved(ICreature) - Method in class com.roguecloud.events.EquipActionEvent
Returns true if the specified creature was involved in this event, or false otherwise.
isCreatureInvolved(ICreature) - Method in interface com.roguecloud.events.IEvent
Was the specified creature involed with this event? Returns true if the character was involed (attacked/defended/moved/etc), or false otherwise.
isCreatureInvolved(ICreature) - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
Returns true if the specified creature was involved in this event, or false otherwise.
isCreatureInvolved(ICreature) - Method in class com.roguecloud.events.StepActionEvent
Returns true if the specified creature was involved in this event, or false otherwise.
isDead() - Method in interface com.roguecloud.creatures.ICreature
Returns true if the character is no longer alive, and false otherwise.
isDead() - Method in class com.roguecloud.creatures.Monster
 
isDead() - Method in class com.roguecloud.creatures.PlayerCreature
 
isDisposed() - Method in interface com.roguecloud.utils.IManagedResource
 
isDropItem() - Method in class com.roguecloud.actions.MoveInventoryItemAction
 
isDropItem() - Method in class com.roguecloud.actions.MoveInventoryItemActionResponse
 
isDropItem() - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
Returns true if the character was dropping an item, and false if they were picking up an item
isExpired() - Method in interface com.roguecloud.utils.IManagedResource
 
isHit() - Method in class com.roguecloud.events.CombatActionEvent
Return false if the attack missed (and thus no damage was done), or true otherwise.
isOpen() - Method in class com.roguecloud.map.DoorTileProperty
 
isPlayerCreature() - Method in interface com.roguecloud.creatures.ICreature
Whether or not the character is controlled by another player.
isPlayerCreature() - Method in class com.roguecloud.creatures.Monster
 
isPlayerCreature() - Method in class com.roguecloud.creatures.PlayerCreature
 
isPresentlyPassable() - Method in class com.roguecloud.map.DoorTerrain
 
isPresentlyPassable() - Method in class com.roguecloud.map.ImmutableImpassableTerrain
 
isPresentlyPassable() - Method in class com.roguecloud.map.ImmutablePassableTerrain
 
isPresentlyPassable() - Method in interface com.roguecloud.map.ITerrain
 
isPresentlyPassable() - Method in class com.roguecloud.map.Tile
Is the tile passable? – ie can we move on/off it? This is false for tiles that are part of walls/buildings/fences/furniture, and true otherwise.
isPresentlyPassable() - Method in class com.roguecloud.map.WallTerrain
 
isResponseReceived() - Method in class com.roguecloud.ActionResponseFuture
Has the server processed and responded to our action?
isSuccess() - Method in class com.roguecloud.actions.DrinkItemActionResponse
 
isTileForRead() - Method in class com.roguecloud.map.Tile
 
isValid(IMap) - Method in class com.roguecloud.Position
Whether the position is within the bounds of the world.
ITerrain - Interface in com.roguecloud.map
For internal server use only; to determine if a Tile is passable, call Tile’s isPresentlyPassable() method.
ITileProperty - Interface in com.roguecloud.map
Some tiles have special attributes (such is ‘is door’).
ITileProperty.TilePropertyType - Enum in com.roguecloud.map
 
ITilePropertyMutable - Interface in com.roguecloud.map
For internal server use only, see ITileProperty for public API.

L

log(long, String) - Static method in class com.roguecloud.NG
 
LogContext - Class in com.roguecloud.utils
 
Logger - Class in com.roguecloud.utils
For internal use only.
Logger.Level - Enum in com.roguecloud.utils
 

M

main(String[]) - Static method in class com.roguecloud.utils.FastPathSearch
 
manhattanDistanceBetween(Position) - Method in class com.roguecloud.Position
Returns the Manhattan distance between two points: this is the distance without traveling diagonally.
MAX_LATENCY_SIM_IN_NANOS - Static variable in class com.roguecloud.RCRuntime
 
MAX_ROUND_LENGTH_IN_NANOS - Static variable in class com.roguecloud.RCSharedConstants
 
MIN_LATENCY_SIM_IN_NANOS - Static variable in class com.roguecloud.RCRuntime
 
Monster - Class in com.roguecloud.creatures
This object represents an enemy monster in the world.
Monster(JsonVisibleCreature, ArmourSet, Weapon) - Constructor for class com.roguecloud.creatures.Monster
 
Monster(String, long, Position, TileType, Weapon, int, ArmourSet) - Constructor for class com.roguecloud.creatures.Monster
 
MoveInventoryItemAction - Class in com.roguecloud.actions
To pick up an item from the ground, or place an item (from your inventory) on the ground, create this object and call the client sendAction(…) method.
MoveInventoryItemAction(long, MoveInventoryItemAction.Type) - Constructor for class com.roguecloud.actions.MoveInventoryItemAction
 
MoveInventoryItemAction.Type - Enum in com.roguecloud.actions
 
MoveInventoryItemActionEvent - Class in com.roguecloud.events
When a creature picks up an item from the ground, or drops an item to the ground, this will be recorded in this class as a world event.
MoveInventoryItemActionEvent(ICreature, IObject, boolean, long, long) - Constructor for class com.roguecloud.events.MoveInventoryItemActionEvent
 
MoveInventoryItemActionResponse - Class in com.roguecloud.actions
 
MoveInventoryItemActionResponse(long, boolean, boolean) - Constructor for class com.roguecloud.actions.MoveInventoryItemActionResponse
 

N

NG - Class in com.roguecloud
For internal use only.
NullAction - Class in com.roguecloud.actions
A null action may be sent by the player to indicate that they wish their character to not perform an action this turn.
NullActionResponse - Class in com.roguecloud.actions
A null action response will always return false on actionPerformed(…).

O

OwnableObject - Class in com.roguecloud.items
An object that is in a players inventory (ie unlike a GroundObject, an OwnableObject has no physical coordinates.)
OwnableObject(IObject, long) - Constructor for class com.roguecloud.items.OwnableObject
 

P

PERF_ENABLED - Static variable in class com.roguecloud.RCRuntime
 
PlayerCreature - Class in com.roguecloud.creatures
This object represents a player creature in the world.
PlayerCreature(String, long, Position, TileType, ArmourSet) - Constructor for class com.roguecloud.creatures.PlayerCreature
 
PlayerCreature(JsonVisibleCreature, ArmourSet, Weapon) - Constructor for class com.roguecloud.creatures.PlayerCreature
 
Position - Class in com.roguecloud
A simple (x, y) coordinate.
Position(int, int) - Constructor for class com.roguecloud.Position
 
println(String, LogContext) - Static method in class com.roguecloud.utils.Console
 
printlnWithTime(String, LogContext) - Static method in class com.roguecloud.utils.Console
 
put(Armour) - Method in class com.roguecloud.items.ArmourSet
 
putTile(int, int, Tile) - Method in interface com.roguecloud.map.IMutableMap
 
putTile(Position, Tile) - Method in interface com.roguecloud.map.IMutableMap
 
putTile(Position, Tile) - Method in class com.roguecloud.map.RCArrayMap
 
putTile(int, int, Tile) - Method in class com.roguecloud.map.RCArrayMap
 
putTile(Position, Tile) - Method in class com.roguecloud.map.RCCloneMap
 
putTile(int, int, Tile) - Method in class com.roguecloud.map.RCCloneMap
 
putTile(int, int, T) - Method in class com.roguecloud.utils.SimpleMap
 

R

RCArrayMap - Class in com.roguecloud.map
For internal use - see IMap for the public API of map.
RCArrayMap(int, int) - Constructor for class com.roguecloud.map.RCArrayMap
 
RCCloneMap - Class in com.roguecloud.map
For internal use - see IMap for the public API of map.
RCCloneMap(int, int) - Constructor for class com.roguecloud.map.RCCloneMap
 
RCRuntime - Class in com.roguecloud
For internal use only
RCRuntime() - Constructor for class com.roguecloud.RCRuntime
 
RCSharedConstants - Class in com.roguecloud
For internal use only
RCSharedConstants() - Constructor for class com.roguecloud.RCSharedConstants
 
RCUtils - Class in com.roguecloud.utils
For internal use only
RCUtils() - Constructor for class com.roguecloud.utils.RCUtils
 
readIntoString(InputStream) - Static method in class com.roguecloud.utils.RCUtils
 
readIntoStringListAndClose(InputStream) - Static method in class com.roguecloud.utils.RCUtils
 
remove(Armour) - Method in class com.roguecloud.items.ArmourSet
 
removeEffect(Effect) - Method in interface com.roguecloud.creatures.IMutableCreature
 
removeEffect(Effect) - Method in class com.roguecloud.creatures.Monster
 
removeEffect(Effect) - Method in class com.roguecloud.creatures.PlayerCreature
 
removeFromInventory(OwnableObject) - Method in interface com.roguecloud.creatures.IMutableCreature
 
removeFromInventory(OwnableObject) - Method in class com.roguecloud.creatures.Monster
 
removeFromInventory(OwnableObject) - Method in class com.roguecloud.creatures.PlayerCreature
 
removePlayerCreaturesFromList(List<ICreature>) - Static method in class com.roguecloud.utils.AIUtils
Remove creatures that represent other players from the given list.
removeSession(IManagedResource) - Method in class com.roguecloud.utils.ResourceLifecycleUtil
 
ResourceLifecycleUtil - Class in com.roguecloud.utils
For internal use only

S

safeClose(Writer) - Static method in class com.roguecloud.utils.RCUtils
 
safeClose(OutputStream) - Static method in class com.roguecloud.utils.RCUtils
 
safeClose(InputStream) - Static method in class com.roguecloud.utils.RCUtils
 
SelfState - Class in com.roguecloud.client
The current state of the player, which may be used to answer questions like:
SelfState(ICreature) - Constructor for class com.roguecloud.client.SelfState
 
sendAction(IAction) - Method in interface com.roguecloud.client.IClient
This method is called by agent code to have the character perform an action in the world (such as attacking, moving, etc).
serverInstance(int) - Static method in class com.roguecloud.utils.LogContext
 
serverInstanceWithClientId(int, long) - Static method in class com.roguecloud.utils.LogContext
 
setClonedForRead(boolean) - Method in class com.roguecloud.map.RCArrayMap
 
setCurrentGameTick(long) - Method in class com.roguecloud.client.WorldState
 
setCurrHp(int) - Method in interface com.roguecloud.creatures.IMutableCreature
 
setCurrHp(int) - Method in class com.roguecloud.creatures.Monster
 
setCurrHp(int) - Method in class com.roguecloud.creatures.PlayerCreature
 
setLastTickUpdated(Long) - Method in class com.roguecloud.map.Tile
 
setLevel(int) - Method in class com.roguecloud.creatures.PlayerCreature
 
setMagnitude(int) - Method in class com.roguecloud.items.Effect
 
setMaxHp(int) - Method in interface com.roguecloud.creatures.IMutableCreature
 
setMaxHp(int) - Method in class com.roguecloud.creatures.Monster
 
setMaxHp(int) - Method in class com.roguecloud.creatures.PlayerCreature
 
setOpen(boolean) - Method in class com.roguecloud.map.DoorTileProperty
 
setPosition(Position) - Method in interface com.roguecloud.creatures.IMutableCreature
 
setPosition(Position) - Method in class com.roguecloud.creatures.Monster
 
setPosition(Position) - Method in class com.roguecloud.creatures.PlayerCreature
 
setPosition(Position) - Method in class com.roguecloud.items.GroundObject
 
setRemainingSecondsInRound(int) - Method in class com.roguecloud.client.WorldState
 
setRemainingTurns(int) - Method in class com.roguecloud.items.Effect
 
setTileForRead(boolean) - Method in class com.roguecloud.map.Tile
 
setViewHeight(int) - Method in class com.roguecloud.client.WorldState
 
setViewWidth(int) - Method in class com.roguecloud.client.WorldState
 
setViewXPos(int) - Method in class com.roguecloud.client.WorldState
 
setViewYPos(int) - Method in class com.roguecloud.client.WorldState
 
setWeapon(Weapon) - Method in interface com.roguecloud.creatures.IMutableCreature
 
setWeapon(Weapon) - Method in class com.roguecloud.creatures.Monster
 
setWeapon(Weapon) - Method in class com.roguecloud.creatures.PlayerCreature
 
setWhoami(String) - Method in class com.roguecloud.NG
 
setWorldHeight(int) - Method in class com.roguecloud.client.WorldState
 
setWorldWidth(int) - Method in class com.roguecloud.client.WorldState
 
severe(String, LogContext) - Method in class com.roguecloud.utils.Logger
 
severe(String, Throwable, LogContext) - Method in class com.roguecloud.utils.Logger
 
shallowClone() - Method in class com.roguecloud.items.GroundObject
 
shallowClone() - Method in class com.roguecloud.map.Tile
 
shallowCloneUnchecked() - Method in class com.roguecloud.map.Tile
 
SimpleMap<T> - Class in com.roguecloud.utils
A utility class that may be used to store/retrieve elements from a map-style grid of an arbitrary elements.
SimpleMap(int, int) - Constructor for class com.roguecloud.utils.SimpleMap
 
SimpleMap.SimpleMapPrettyPrint<T> - Interface in com.roguecloud.utils
See parent class for details.
SIMULATE_BAD_CONNECTION - Static variable in class com.roguecloud.RCRuntime
 
sleep(long) - Static method in class com.roguecloud.utils.RCUtils
 
sortClosestCreatures(Position, List<ICreature>) - Static method in class com.roguecloud.utils.AIUtils
Sort a list of creatures by which is closest, with the closest being first in the list (sorted ascending by distance)
startSearch(long) - Method in class com.roguecloud.utils.AStarSearchInterruptible
Returns true if search complete, false otherwise
stateUpdate(SelfState, WorldState, IEventLog) - Method in interface com.roguecloud.client.IClient
This method is called by the agent API to inform the agent code of the latest state of the world and their character.
StepAction - Class in com.roguecloud.actions
To move your character, create an instance of this action and call the client API’s sendAction(…) command.
StepAction(Position) - Constructor for class com.roguecloud.actions.StepAction
 
StepActionEvent - Class in com.roguecloud.events
When a creature moves from one position to another, this move will be recorded by this class.
StepActionEvent(ICreature, Position, Position, long, long) - Constructor for class com.roguecloud.events.StepActionEvent
 
StepActionResponse - Class in com.roguecloud.actions
This object is returned when the player’s code attempts to move their character.
StepActionResponse(Position) - Constructor for class com.roguecloud.actions.StepActionResponse
 
StepActionResponse(StepActionResponse.StepActionFailReason) - Constructor for class com.roguecloud.actions.StepActionResponse
 
StepActionResponse.StepActionFailReason - Enum in com.roguecloud.actions
If the step action failed, this will indicate the reason.

T

Tile - Class in com.roguecloud.map
A tile represents the contents of a coordinate on the world map.
Tile(boolean, ITerrain, ITerrain) - Constructor for class com.roguecloud.map.Tile
 
TileType - Class in com.roguecloud.map
For internal server use only: the graphical representation of an item or tile
TileType(int) - Constructor for class com.roguecloud.map.TileType
 
TileType(int, int) - Constructor for class com.roguecloud.map.TileType
 
TileType(int, int, String) - Constructor for class com.roguecloud.map.TileType
 
toJson() - Method in class com.roguecloud.actions.CombatAction
 
toJson() - Method in class com.roguecloud.actions.CombatActionResponse
 
toJson() - Method in class com.roguecloud.actions.DrinkItemAction
 
toJson() - Method in class com.roguecloud.actions.DrinkItemActionResponse
 
toJson() - Method in class com.roguecloud.actions.EquipAction
 
toJson() - Method in class com.roguecloud.actions.EquipActionResponse
 
toJson() - Method in class com.roguecloud.actions.MoveInventoryItemAction
 
toJson() - Method in class com.roguecloud.actions.MoveInventoryItemActionResponse
 
toJson() - Method in class com.roguecloud.actions.NullAction
 
toJson() - Method in class com.roguecloud.actions.StepAction
 
toJson() - Method in class com.roguecloud.actions.StepActionResponse
 
toJson() - Method in class com.roguecloud.events.CombatActionEvent
 
toJson() - Method in class com.roguecloud.events.DrinkItemActionEvent
 
toJson() - Method in class com.roguecloud.events.EquipActionEvent
 
toJson() - Method in interface com.roguecloud.events.IMutableEvent
 
toJson() - Method in class com.roguecloud.events.MoveInventoryItemActionEvent
 
toJson() - Method in class com.roguecloud.events.StepActionEvent
 
toJson() - Method in class com.roguecloud.items.Armour
 
toJson() - Method in class com.roguecloud.items.DrinkableItem
 
toJson() - Method in class com.roguecloud.items.Effect
 
toJson() - Method in class com.roguecloud.items.OwnableObject
 
toJson() - Method in class com.roguecloud.items.Weapon
 
toJson() - Method in class com.roguecloud.Position
Internal method onlu
toString() - Method in class com.roguecloud.actions.CombatAction
 
toString() - Method in class com.roguecloud.actions.MoveInventoryItemActionResponse
 
toString() - Method in class com.roguecloud.actions.NullAction
 
toString() - Method in class com.roguecloud.actions.StepAction
 
toString() - Method in class com.roguecloud.creatures.Monster
 
toString() - Method in class com.roguecloud.creatures.PlayerCreature
 
toString() - Method in class com.roguecloud.events.CombatActionEvent
 
toString() - Method in class com.roguecloud.events.StepActionEvent
 
toString() - Method in class com.roguecloud.items.Armour
 
toString() - Method in class com.roguecloud.items.Effect
 
toString() - Method in class com.roguecloud.items.GroundObject
 
toString() - Method in class com.roguecloud.items.OwnableObject
 
toString() - Method in class com.roguecloud.items.Weapon
 
toString() - Method in class com.roguecloud.map.Tile
 
toString() - Method in class com.roguecloud.Position
 
toString() - Method in class com.roguecloud.utils.LogContext
 
toString() - Method in class com.roguecloud.utils.SimpleMap
 

U

usererr(String, LogContext) - Static method in class com.roguecloud.utils.Console
 
usermsg(String, LogContext) - Static method in class com.roguecloud.utils.Console
 
userVisibleCombatResult() - Method in class com.roguecloud.events.CombatActionEvent
 

V

valueOf(String) - Static method in enum com.roguecloud.actions.CombatActionResponse.CombatActionResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.actions.IAction.ActionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.actions.MoveInventoryItemAction.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.actions.StepActionResponse.StepActionFailReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.events.IEvent.EventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.items.Armour.ArmourType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.items.Effect.EffectType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.items.IObject.ObjectType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.items.Weapon.WeaponType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.map.ITileProperty.TilePropertyType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.roguecloud.utils.Logger.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.roguecloud.actions.CombatActionResponse.CombatActionResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.actions.IAction.ActionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.actions.MoveInventoryItemAction.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.actions.StepActionResponse.StepActionFailReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.events.IEvent.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.items.Armour.ArmourType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.items.Effect.EffectType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.items.IObject.ObjectType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.items.Weapon.WeaponType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.map.ITileProperty.TilePropertyType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.roguecloud.utils.Logger.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

WallTerrain - Class in com.roguecloud.map
 
WallTerrain(TileType) - Constructor for class com.roguecloud.map.WallTerrain
 
Weapon - Class in com.roguecloud.items
A weapon is an object that can be equipped by a player, and that is used offensively in combat to deal damage to other creatures.
Weapon(long, String, int, int, int, int, Weapon.WeaponType, TileType) - Constructor for class com.roguecloud.items.Weapon
 
Weapon(JsonWeapon) - Constructor for class com.roguecloud.items.Weapon
 
Weapon.WeaponType - Enum in com.roguecloud.items
Weapons may require one or both hands – this is not currently used by combat calculations.
whoami_synch_lock - Variable in class com.roguecloud.NG
 
WorldState - Class in com.roguecloud.client
The current state of the world, as witnessed by the agent.
WorldState(IMap) - Constructor for class com.roguecloud.client.WorldState
 
write(String) - Method in class com.roguecloud.utils.InnerConsole
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2018 the original author or authors.