A B C D E F G H I K L M N O P R S T U V W X Y

A

add(int, int) - Method in class monrovia.tools.IntPoint
 
add(int, Object) - Method in class monrovia.tools.ArrayIDList
 
add(IntPoint) - Method in class monrovia.tools.IntPoint
 
add(Object) - Method in class monrovia.tools.ArrayIDList
Add an object to the list.
add(String, Class) - Method in class monrovia.tools.ParameterMap
Add a key to this map.
addAll(Collection) - Method in class monrovia.tools.ArrayIDList
 
addAll(int, Collection) - Method in class monrovia.tools.ArrayIDList
 
addAzoic(int, int, int) - Method in class monrovia.server.core.GameDataImpl.MapDataImpl
 
addAzoic(int, int, int) - Method in interface monrovia.server.core.GameDataStorage.MapData
Place an azoic to the map.
addAzoic(String, String, byte[]) - Method in class monrovia.server.core.GameDataImpl
 
addAzoic(String, String, byte[]) - Method in interface monrovia.server.core.GameDataStorage.GameData
Add a new static map object aka an azoic.
addClient(String, String, String, int, ServerTcpSender, ServerUdpSender) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
addClient(String, String, String, int, ServerTcpSender, ServerUdpSender) - Method in interface monrovia.protocol.server.ProtocolHandler
addClient adds pClientName with pClientAddress and pClientPort as well as this clients udpsender and tcp sender to active clients returning an unique pClientID if pClientPassword is correct, if not returns 0, returns 0 also when client is already logged in
addCommand(Command) - Method in class monrovia.client.ui.CommandMenu
Add a new command to the menu.
addCommand(Command) - Method in class monrovia.protocol.server.ServerUdpSender
addCommand adds or removes a command to the clients command collection
addCommand(int) - Method in class monrovia.client.protocol.UdpSender
addCommand adds a command without arguments: gonorth
addCommand(int, int) - Method in class monrovia.client.protocol.UdpSender
addCommand adds a command with one int argument: drop, itemID
addCommand(int, int, int) - Method in class monrovia.client.protocol.UdpSender
addCommand adds a command with two int arguments: teleport, x, y
addCommand(int, String) - Method in class monrovia.client.protocol.UdpSender
addCommand adds a command with a string argument: say, nyt sä alat olee asian ytimessä
addCommand(String, String) - Method in class monrovia.server.core.GameDataImpl
 
addCommand(String, String) - Method in interface monrovia.server.core.GameDataStorage.GameData
Add a new command type.
addCreature(String, String, byte[]) - Method in class monrovia.server.core.GameDataImpl
 
addCreature(String, String, byte[]) - Method in interface monrovia.server.core.GameDataStorage.GameData
Add a new creature.
addEmbryo(Creature) - Method in class monrovia.server.platform.MapArea
 
addEmbryo(String, Creature) - Method in class monrovia.server.core.GameDataImpl
 
addEnemy(GameCreature) - Method in class monrovia.game.creatures.GameCreature
Add an enemy and if no attack target exists set it to be this
addEnemy(GameCreature) - Method in class monrovia.game.creatures.NeutralCreature
Add an enemy
addEnemy(GameCreature) - Method in class monrovia.game.creatures.ScaredCreature
Add an enemy
addGround(int, int, int) - Method in class monrovia.server.core.GameDataImpl.MapDataImpl
 
addGround(int, int, int) - Method in interface monrovia.server.core.GameDataStorage.MapData
Place a ground to the map.
addGround(String, String) - Method in class monrovia.server.core.GameDataImpl
 
addGround(String, String) - Method in interface monrovia.server.core.GameDataStorage.GameData
Add a new ground object.
addMapArea(String, int, int, int) - Method in class monrovia.server.core.GameDataImpl
 
addMapArea(String, int, int, int) - Method in interface monrovia.server.core.GameDataStorage.GameData
Add a new map area.
addMessage(String) - Method in class monrovia.server.platform.Creature
 
addMessage(String) - Method in class monrovia.server.platform.map.PlayerCreature
 
addMessage(String) - Method in class monrovia.protocol.server.ServerUdpSender
addMessage sends a message to the client
addObject(int, int, int) - Method in class monrovia.protocol.server.ServerUdpSender
addObject sets a dynamic object to a location
addParameter(String, Class) - Method in class monrovia.server.platform.GameObject
Add a parameter.
addParameters(ParameterMap) - Method in class monrovia.server.platform.GameObject
This method will be called to initialize the parameters.
addParameters(ParameterMap) - Method in class monrovia.server.platform.Creature
 
addParameters(ParameterMap) - Method in class monrovia.server.platform.Azoic
 
addParameters(ParameterMap) - Method in class monrovia.server.platform.Command
 
addParameters(ParameterMap) - Method in class monrovia.server.platform.map.PlayerCreature
 
addParameters(ParameterMap) - Method in class monrovia.server.platform.map.ArenaPort
 
addParameters(ParameterMap) - Method in class monrovia.server.platform.commands.Say
 
addParameters(ParameterMap) - Method in class monrovia.game.creatures.GameCreature
 
addParameters(ParameterMap) - Method in class monrovia.game.creatures.ComputerGameCreature
 
addPlayer() - Method in class monrovia.server.control.MonroviaControl
 
addPlayer(Player) - Method in class monrovia.server.core.AppControlImpl
 
addPlayer(Player) - Method in class monrovia.server.core.PlayerDataImpl
 
addPlayer(Player) - Method in interface monrovia.server.core.AppControl
Add new player.
addPlayer(Player) - Method in class monrovia.server.core.AppControlImpl_Stub
 
addStat(int, int) - Method in class monrovia.protocol.server.ServerUdpSender
addStat informs the client of a changed int stat
addStat(int, String) - Method in class monrovia.protocol.server.ServerUdpSender
addStat informs the client of a change string stat
addStatUpdate(int, int) - Method in class monrovia.server.platform.Creature
 
addStatUpdate(int, int) - Method in class monrovia.server.platform.map.PlayerCreature
 
addStatUpdate(int, String) - Method in class monrovia.server.platform.Creature
 
addStatUpdate(int, String) - Method in class monrovia.server.platform.map.PlayerCreature
 
addText(String) - Method in class monrovia.client.ui.BasicScrollTextBox
Add new text to the end of the text box.
AggressiveCreature - class monrovia.game.creatures.AggressiveCreature.
AggressiveCreature attacks all players
AggressiveCreature() - Constructor for class monrovia.game.creatures.AggressiveCreature
 
allowReceive() - Method in class monrovia.client.protocol.ProtocolClient
allowReceive allows the receiver to read packets
AppControl - interface monrovia.server.core.AppControl.
RMI Interface for controlling Monrovia.
AppControlImpl - class monrovia.server.core.AppControlImpl.
Implementation of the AppControl remote interface.
AppControlImpl_Stub - class monrovia.server.core.AppControlImpl_Stub.
 
AppControlImpl_Stub(RemoteRef) - Constructor for class monrovia.server.core.AppControlImpl_Stub
 
AppControlImpl(PlayerDataImpl) - Constructor for class monrovia.server.core.AppControlImpl
 
arena(short[][], short[][], Command[], Stat[]) - Method in class monrovia.client.MonroviaClient
Receives the arena and player information from the protocol.
arena(short[][], short[][], Command[], Stat[]) - Method in interface monrovia.client.protocol.ClientProtocolHandler
gives the server the arena and player information, used when entering an arena
ArenaPort - class monrovia.server.platform.map.ArenaPort.
Ground object that moves the creature to another map area.
ArenaPort() - Constructor for class monrovia.server.platform.map.ArenaPort
 
ArrayIDList - class monrovia.tools.ArrayIDList.
List implementation that gives unique IDs for the values.
ArrayIDList() - Constructor for class monrovia.tools.ArrayIDList
Constructor.
Azoic - class monrovia.server.platform.Azoic.
The abstract base class of azoic (lifeless) things in the game.
Azoic() - Constructor for class monrovia.server.platform.Azoic
Constructor.

B

BasicGameData - class monrovia.server.core.BasicGameData.
Basic game data storage.
BasicGameData() - Constructor for class monrovia.server.core.BasicGameData
Constructor.
BasicScrollTextBox - class monrovia.client.ui.BasicScrollTextBox.
A scrolling TextBox object.
BasicScrollTextBox() - Constructor for class monrovia.client.ui.BasicScrollTextBox
 
BasicScrollTextBox(String, int, int, int, int) - Constructor for class monrovia.client.ui.BasicScrollTextBox
Create a new ScrollTextBox2 object.
bitmapSize(byte[][]) - Static method in class monrovia.protocol.ByteConverter
calculates the size of the bitmaps each bitmap: 16 * 16, 8bit color
ByteConverter - class monrovia.protocol.ByteConverter.
ByteConverter converts to and from byteArrays
ByteConverter(byte[]) - Constructor for class monrovia.protocol.ByteConverter
Constructs a new byteconverter with the specified array
ByteConverter(byte[][]) - Constructor for class monrovia.protocol.ByteConverter
Construct a byte array from bitmaps
ByteConverter(Command[]) - Constructor for class monrovia.protocol.ByteConverter
Construct a byte array from commands
ByteConverter(int) - Constructor for class monrovia.protocol.ByteConverter
Constructor allocates an empty array with specified size
ByteConverter(int[][]) - Constructor for class monrovia.protocol.ByteConverter
Construct a byte array from a map
ByteConverter(Stat[]) - Constructor for class monrovia.protocol.ByteConverter
Construct a byte array from stats
ByteConverter(String[]) - Constructor for class monrovia.protocol.ByteConverter
 
bytesToInt(int) - Method in class monrovia.protocol.ByteConverter
Convert bytes at offset to an int
bytesToShort(int) - Method in class monrovia.protocol.ByteConverter
Convert bytes at offset to a short
bytesToString(int) - Method in class monrovia.protocol.ByteConverter
Convert a byte array at offset to a string
bytesToString(int, int) - Method in class monrovia.protocol.ByteConverter
Convert a byte array from offset to offset + length to a string

C

canMove() - Method in class monrovia.game.creatures.GameCreature
Can we move, or are we being held harshly
changedStat(int, int) - Method in class monrovia.client.MonroviaClient
Gives a new integer value for a named statistics information.
changedStat(int, int) - Method in interface monrovia.client.protocol.ClientProtocolHandler
sets stat pStatID to pStatValue (int)
changedStat(int, String) - Method in class monrovia.client.MonroviaClient
Gives a new string value for a named statistics information.
changedStat(int, String) - Method in interface monrovia.client.protocol.ClientProtocolHandler
sets stat pStatID to pStatValue (string)
check() - Method in class monrovia.server.core.GameDataImpl
 
check() - Method in class monrovia.server.core.Player
 
check() - Method in class monrovia.server.platform.GameObjectData
 
checkParameters(ParameterMap) - Method in class monrovia.server.platform.GameObject
This method will be called to check the parameters.
checkParameters(ParameterMap) - Method in class monrovia.server.platform.Creature
 
checkParameters(ParameterMap) - Method in class monrovia.server.platform.Azoic
 
checkParameters(ParameterMap) - Method in class monrovia.server.platform.map.ArenaPort
 
checkParameters(ParameterMap) - Method in class monrovia.game.creatures.GameCreature
 
checkParameters(ParameterMap) - Method in class monrovia.game.creatures.ComputerGameCreature
 
clear() - Method in class monrovia.client.ui.CommandMenu
Deletes all the commands from the command list.
clear() - Method in class monrovia.client.ui.Map
Clears the dynamic map objects.
clear() - Method in class monrovia.tools.ArrayIDList
Clear the list.
clearCommandMarks() - Static method in class monrovia.server.platform.GameObject
This is called after a turn to clear the marks that has been set in that turn.
ClientProtocolHandler - interface monrovia.client.protocol.ClientProtocolHandler.
The ClientProtocolHandler handles the protocols communication to the client
close() - Method in class monrovia.client.ui.SayDialog
Close the window.
close() - Method in class monrovia.client.protocol.ProtocolClient
close tries to close all open resources
close() - Method in class monrovia.tools.Logger
close closes the loggers outputstream
close(boolean) - Method in class monrovia.client.protocol.ProtocolClient
close tries to close all open resources
Command - class monrovia.server.platform.Command.
Abstract base class for commands.
Command - class monrovia.protocol.Command.
The Command class is used for sending Commands to the client
COMMAND_1INT_STAT - Static variable in class monrovia.protocol.Command
 
COMMAND_2INT_STAT - Static variable in class monrovia.protocol.Command
 
COMMAND_NO_ARG - Static variable in class monrovia.protocol.Command
 
COMMAND_REMOVE - Static variable in class monrovia.protocol.Command
 
COMMAND_STRING_ARG - Static variable in class monrovia.protocol.Command
 
Command() - Constructor for class monrovia.server.platform.Command
 
command(Command) - Method in class monrovia.client.MonroviaClient
adds or removes a command
command(Command) - Method in interface monrovia.client.protocol.ClientProtocolHandler
adds or removes a command
command(Command, Creature) - Method in class monrovia.server.platform.MapArea
 
command(int, Creature) - Method in class monrovia.server.core.GameDataImpl
 
command(int, Creature, int) - Method in class monrovia.server.core.GameDataImpl
 
command(int, Creature, int, int) - Method in class monrovia.server.core.GameDataImpl
 
command(int, Creature, String) - Method in class monrovia.server.core.GameDataImpl
 
command(int, int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
command(int, int) - Method in interface monrovia.protocol.server.ProtocolHandler
command: pClientID wishes to execute pCommandID
command(int, int, int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
command(int, int, int) - Method in interface monrovia.protocol.server.ProtocolHandler
command: pClientID wishes to execute pCommandID with argumet pArg1
command(int, int, int, int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
command(int, int, int, int) - Method in interface monrovia.protocol.server.ProtocolHandler
command: pClientID wishes to execute pCommandID with argument pArg1 and pArg2
command(int, int, String) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
command(int, int, String) - Method in interface monrovia.protocol.server.ProtocolHandler
command: pClientID wishes to execute pCommandID with argument pArg1 (string)
Command(int, String, byte) - Constructor for class monrovia.protocol.Command
Constructor for a command
CommandMenu - class monrovia.client.ui.CommandMenu.
This class handles the command menu functionality.
CommandMenu(int, int, int, int) - Constructor for class monrovia.client.ui.CommandMenu
Constructor for the class.
commandSize(Command[]) - Static method in class monrovia.protocol.ByteConverter
calculates the size of the commands each command: 4 id,16 name,1 type
commandSize(String[]) - Static method in class monrovia.protocol.ByteConverter
 
ComputerCreature - interface monrovia.server.platform.map.ComputerCreature.
Interface for computer handled creatures.
ComputerGameCreature - class monrovia.game.creatures.ComputerGameCreature.
ComputerGameCreature implements the ComputerCreature interface for computer controlled players
ComputerGameCreature() - Constructor for class monrovia.game.creatures.ComputerGameCreature
 
ConnectDialog - class monrovia.client.ui.ConnectDialog.
This class displays a login dialog with text fields for login name, password, IP address and port.
ConnectDialog(DialogOwner, int, int, int, int, String, String, String) - Constructor for class monrovia.client.ui.ConnectDialog
Constructor which saves the default values and a handle to the dialog owner.
connectionError(String) - Method in class monrovia.client.MonroviaClient
This indicates that an error occurred while connecting.
connectionError(String) - Method in interface monrovia.client.protocol.ClientProtocolHandler
the connectionError method is called when an error occurs while connecting
contains(int, int) - Method in class monrovia.client.ui.BasicScrollTextBox
Is this point inside the bounds of the object?
contains(Object) - Method in class monrovia.tools.ArrayIDList
 
containsAll(Collection) - Method in class monrovia.tools.ArrayIDList
 
create(GameObjectData) - Static method in class monrovia.server.platform.GameObject
Create new GameObject from given data.
Creature - class monrovia.server.platform.Creature.
The abstract base class of a living creature in the game.
Creature() - Constructor for class monrovia.server.platform.Creature
 
curVal - Variable in class monrovia.client.ui.BasicScrollTextBox
 

D

d(int) - Method in class monrovia.game.creatures.GameCreature
Calculate d(n) of an integer (dice side)
Debug - class monrovia.client.util.Debug.
This class is for debugging.
Debug() - Constructor for class monrovia.client.util.Debug
 
debugFlag - Static variable in class monrovia.client.util.Debug
Set this flag to be true to enable debugging.
DEFAULT_PLAYER_CREATURE - Static variable in class monrovia.server.core.GameDataImpl
 
DEFAULT_WALK - Static variable in class monrovia.server.core.GameDataImpl
 
deleteButton() - Method in class monrovia.client.ui.MenuCommand
Deletes the button object from this MenuCommand object.
Demo - class monrovia.client.util.Demo.
This class is for demo purposes.
Demo() - Constructor for class monrovia.client.util.Demo
 
demoFlag - Static variable in class monrovia.client.util.Demo
 
denyReceive() - Method in class monrovia.client.protocol.ProtocolClient
denyReceive skips denies the receiver the pleasure of reading packets
dialogDismissed(String) - Method in class monrovia.client.MonroviaClient
This method defines the DialogOwner interface.
die() - Method in class monrovia.server.platform.Creature
This player is dying.
die() - Method in class monrovia.server.platform.map.PlayerCreature
 
DIRADDS - Static variable in class monrovia.server.platform.Command
 
DIRTEXTS - Static variable in class monrovia.server.platform.Command
 
dismissDialog() - Method in class monrovia.client.ui.MessageDialog
Dismiss the Dialog.
doDamage(GameCreature) - Method in class monrovia.game.creatures.GameCreature
Do damage to this creature

E

EMPTY_ICON - Static variable in class monrovia.server.core.GameDataImpl
 
EMPTY_ICON_ID - Static variable in class monrovia.server.core.GameDataImpl
 
equals(Object) - Method in class monrovia.server.core.ProtocolHandlerImpl.SocketKey
 
equals(Object) - Method in class monrovia.tools.IntPoint
 
escaped() - Method in class monrovia.game.creatures.GameCreature
Escaped is called, when the creature has escaped and the enemies should be notified of the escape
execute() - Method in class monrovia.server.platform.Command
Place to do the actual execution.
execute() - Method in class monrovia.server.platform.commands.Say
 
execute() - Method in class monrovia.server.platform.commands.Walk
 
execute() - Method in class monrovia.game.commands.Look
 
execute() - Method in class monrovia.game.commands.GameWalk
 
exit() - Method in class monrovia.server.platform.map.PlayerCreature
 

F

findFreePointNear(IntPoint, String) - Static method in class monrovia.server.platform.Creature
Find a free point in an area.
flush() - Method in class monrovia.client.protocol.UdpSender
flush is called when one wishes to send the packet
flush() - Method in class monrovia.protocol.server.ServerUdpSender
flush sends the packet to the client

G

GameCreature - class monrovia.game.creatures.GameCreature.
GameCreature class implements the game specific properties required of all the creatures in the game
GameCreature() - Constructor for class monrovia.game.creatures.GameCreature
Default constructor
GameDataImpl - class monrovia.server.core.GameDataImpl.
Loading implementation for the platform end.
GameDataImpl.MapDataImpl - class monrovia.server.core.GameDataImpl.MapDataImpl.
 
GameDataImpl.MapDataImpl(GameDataImpl, MapArea) - Constructor for class monrovia.server.core.GameDataImpl.MapDataImpl
 
GameDataImpl.ObjectDataImpl - class monrovia.server.core.GameDataImpl.ObjectDataImpl.
 
GameDataImpl.ObjectDataImpl(GameDataImpl, GameObjectData) - Constructor for class monrovia.server.core.GameDataImpl.ObjectDataImpl
 
GameDataImpl() - Constructor for class monrovia.server.core.GameDataImpl
Constructor.
GameDataStorage - interface monrovia.server.core.GameDataStorage.
Interface for loading and saving data.
GameDataStorage.GameData - interface monrovia.server.core.GameDataStorage.GameData.
Other end loading interface.
GameDataStorage.MapData - interface monrovia.server.core.GameDataStorage.MapData.
Other end map data loading interface.
GameDataStorage.ObjectData - interface monrovia.server.core.GameDataStorage.ObjectData.
 
GameInterface - class monrovia.server.core.GameInterface.
This class is used as interface to the game implementation
GameObject - class monrovia.server.platform.GameObject.
Abstract base class for all game objects.
GameObject() - Constructor for class monrovia.server.platform.GameObject
Constructor.
GameObjectData - class monrovia.server.platform.GameObjectData.
Class to store the game data information of a game object.
GameObjectData(int, String, String, Class) - Constructor for class monrovia.server.platform.GameObjectData
 
GameWalk - class monrovia.game.commands.GameWalk.
GameWalk class implements the game specific walk, that includes fleeing from battle and engaging battle
GameWalk() - Constructor for class monrovia.game.commands.GameWalk
Default constructor
get(int) - Method in class monrovia.tools.ArrayIDList
Get element with given ID.
get(String) - Method in class monrovia.tools.ParameterMap
Get parameter value.
getAddress() - Method in class monrovia.client.ui.ConnectDialog
Fetch the IP address field value.
getArea() - Method in class monrovia.server.platform.GameObject
Get the area where this object is currently located.
getAzoic() - Method in class monrovia.server.platform.Ground
 
getAzoic() - Method in class monrovia.server.platform.map.ArenaPort
 
getAzoicIconID() - Method in class monrovia.server.platform.Ground
Returns azoics icon id or -1 if azoic is null.
getBitmaps(int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
getBitmaps(int) - Method in interface monrovia.protocol.server.ProtocolHandler
getBitmaps returns an array of byte[], each of which is a bitmap
getButton() - Method in class monrovia.client.ui.MenuCommand
Returns the button for the command.
getByte(int) - Method in class monrovia.protocol.ByteConverter
returns a byte at offset
getClientID(String, int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
getClientID(String, int) - Method in interface monrovia.protocol.server.ProtocolHandler
getClientID returns the clientID identified by pClientAddress and pClientPort.
getCommand() - Method in class monrovia.server.platform.Ground
 
getCommand() - Method in interface monrovia.server.platform.map.ComputerCreature
Return command for next turn.
getCommand() - Method in class monrovia.client.ui.SayDialog
Return the MenuCommand object in this dialog.
getCommand() - Method in class monrovia.game.creatures.ComputerGameCreature
Return command for next turn.
getCommand(int) - Method in class monrovia.protocol.ByteConverter
getCommand gets a single command from offset
getCommand(String) - Method in class monrovia.server.core.GameDataImpl
 
getCommand(String) - Method in class monrovia.server.core.GameInterface
 
getCommandArray() - Method in class monrovia.protocol.ByteConverter
getCommandArray gets the commands from the bytearray and returns them as an array of commands
getCommander() - Method in class monrovia.server.platform.Command
 
getCommandID() - Method in class monrovia.protocol.Command
Returns the ID of the command.
getCommandMark(String) - Method in class monrovia.server.platform.GameObject
Get the command object that has set a mark.
getCommandMessage() - Method in class monrovia.server.platform.Creature
 
getCommandName() - Method in class monrovia.protocol.Command
Returns the command name.
getCommands() - Method in class monrovia.protocol.ByteConverter
getCommands gets the commands from the bytearray and returns them in a hashtable
getCommands(int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
getCommands(int) - Method in interface monrovia.protocol.server.ProtocolHandler
getCommands returns an array of strings, each of which is the commands text
getCommandType() - Method in class monrovia.protocol.Command
Returns the command type.
getCreature() - Method in class monrovia.server.core.Player
 
getCreature() - Method in class monrovia.server.platform.Ground
 
getCreatureName() - Method in interface monrovia.server.core.PlayerStorage.PlayerData
Get the name of the creature.
getCreatureName() - Method in class monrovia.server.core.Player
 
getData() - Method in class monrovia.protocol.ByteConverter
returns the underlying byte array
getGI() - Method in class monrovia.server.platform.GameObject
Shorter method to get the GameInterface instance.
getGround(IntPoint) - Method in class monrovia.server.platform.MapArea
 
getGroundAt(String, IntPoint) - Method in class monrovia.server.core.GameInterface
 
getHeight() - Method in class monrovia.server.platform.MapArea
 
getIcon() - Method in class monrovia.server.platform.Azoic
 
getIconID() - Method in class monrovia.server.platform.Creature
 
getIconID() - Method in class monrovia.server.platform.Azoic
 
getIcons() - Method in class monrovia.server.platform.MapArea
 
getID() - Method in class monrovia.server.core.GameDataImpl.ObjectDataImpl
 
getID() - Method in interface monrovia.server.core.GameDataStorage.ObjectData
Get the ID of this object
getID() - Method in class monrovia.server.core.Player
 
getID() - Method in class monrovia.server.platform.GameObject
Get the GameObject ID.
getID() - Method in class monrovia.server.platform.GameObjectData
 
getImplClass() - Method in class monrovia.server.platform.GameObjectData
 
getInstance() - Static method in class monrovia.server.core.GameInterface
 
getIntArgs() - Method in class monrovia.server.platform.Command
 
getLocation() - Method in class monrovia.server.platform.GameObject
Get the location of this object in the current map area.
getLogin() - Method in class monrovia.client.ui.ConnectDialog
Fetch the login field value.
getMap() - Method in class monrovia.server.platform.MapArea
 
getMap(int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
getMap(int) - Method in interface monrovia.protocol.server.ProtocolHandler
getMap returns the Map of pClientID
getMapAreaSize(String) - Method in class monrovia.server.core.GameInterface
 
getMessages() - Method in class monrovia.server.platform.Creature
 
getMessages() - Method in class monrovia.server.platform.map.PlayerCreature
 
getName() - Method in class monrovia.server.core.Player
 
getName() - Method in class monrovia.server.platform.GameObject
Get the name of this object.
getName() - Method in class monrovia.server.platform.MapArea
 
getName() - Method in class monrovia.server.platform.GameObjectData
 
getNeededParameters() - Method in class monrovia.server.core.Player
 
getNeededParameters() - Method in class monrovia.server.platform.GameObject
Returns a list of parameters that are needed.
getNeededParameters() - Method in class monrovia.server.platform.Creature
 
getNeededParameters() - Method in class monrovia.server.platform.GameObjectData
 
getNextCreature() - Method in class monrovia.server.platform.Ground
 
getNextID() - Method in class monrovia.tools.ArrayIDList
Get the next ID that will be used.
getOptionalParameters() - Method in class monrovia.server.core.Player
 
getOptionalParameters() - Method in class monrovia.server.platform.GameObject
Returns a list of optional parameters.
getOptionalParameters() - Method in class monrovia.server.platform.Creature
 
getOptionalParameters() - Method in class monrovia.server.platform.GameObjectData
 
getOptionalParameters() - Method in class monrovia.game.creatures.GameCreature
 
getParam(String) - Method in class monrovia.game.creatures.GameCreature
Type conversion help
getParameter(String) - Method in class monrovia.server.platform.GameObject
Get value for given parameter.
getParameterMap() - Method in interface monrovia.server.core.PlayerStorage.PlayerData
Get unmodifiable version of the parameter map.
getParameterMap() - Method in class monrovia.server.core.Player
 
getParameters() - Method in class monrovia.server.platform.GameObjectData
 
getParameterType(String) - Method in class monrovia.server.core.GameDataImpl.ObjectDataImpl
 
getParameterType(String) - Method in interface monrovia.server.core.GameDataStorage.ObjectData
Get type for given parameter.
getParameterType(String) - Method in interface monrovia.server.core.PlayerStorage.PlayerData
Get type for given parameter in the creature.
getParameterType(String) - Method in class monrovia.server.core.Player
 
getPassword() - Method in interface monrovia.server.core.PlayerStorage.PlayerData
Get the password.
getPassword() - Method in class monrovia.server.core.Player
 
getPassword() - Method in class monrovia.client.ui.ConnectDialog
Fetch the password field value.
getPlayer(int) - Method in class monrovia.server.core.PlayerDataImpl
 
getPlayer(String) - Method in class monrovia.server.core.PlayerDataImpl
 
getPlayerCreatureImpl() - Method in class monrovia.server.core.AppControlImpl
 
getPlayerCreatureImpl() - Method in class monrovia.server.core.PlayerDataImpl
 
getPlayerCreatureImpl() - Method in class monrovia.server.core.GameDataImpl
 
getPlayerCreatureImpl() - Method in interface monrovia.server.core.AppControl
Get the default player creature implementing class.
getPlayerCreatureImpl() - Method in class monrovia.server.core.AppControlImpl_Stub
 
getPort() - Method in class monrovia.client.ui.ConnectDialog
Fetch the port field value.
getProtocolTurn() - Method in class monrovia.server.core.Player
 
getShortMap() - Method in class monrovia.protocol.ByteConverter
returns the map (array of array of shorts) from the bytearray
getSize() - Method in class monrovia.server.platform.MapArea
 
getSize() - Method in class monrovia.protocol.ByteConverter
returns the size of the underlying byte array
getSocketKey() - Method in class monrovia.server.core.Player
 
getStartArea() - Method in class monrovia.server.platform.Creature
 
getStartPoint() - Method in class monrovia.server.platform.Creature
 
getStatistics() - Method in class monrovia.server.platform.Creature
 
getStatistics() - Method in class monrovia.game.creatures.GameCreature
Returns the statistics for this creature
getStatName() - Method in class monrovia.protocol.Stat
Get stat name.
getStats(int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
getStats(int) - Method in interface monrovia.protocol.server.ProtocolHandler
getStats return the Stats of pClientID
getStringArg() - Method in class monrovia.server.platform.Command
 
getStringValue() - Method in class monrovia.protocol.Stat
Get stat value.
getText() - Method in class monrovia.client.ui.SayDialog
Return the text which was written last time to the text field.
getText() - Method in class monrovia.client.ui.BasicScrollTextBox
 
getTurn(int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
getTurn(int) - Method in interface monrovia.protocol.server.ProtocolHandler
getTurn returns the ClientID:s turn
getType() - Method in class monrovia.server.platform.GameObjectData
 
getType(String) - Method in class monrovia.tools.ParameterMap
Get type for the given key.
getValueMap() - Method in class monrovia.tools.ParameterMap
Get unmodifiable version of the value map.
getWalkImplementation() - Method in class monrovia.server.core.GameDataImpl
 
getWidth() - Method in class monrovia.server.platform.MapArea
 
getX() - Method in class monrovia.tools.IntPoint
 
getY() - Method in class monrovia.tools.IntPoint
 
giveSenders(UdpSender, TcpSender) - Method in class monrovia.client.MonroviaClient
Gives the handles for sending data.
giveSenders(UdpSender, TcpSender) - Method in interface monrovia.client.protocol.ClientProtocolHandler
gives the protocol handler the senders
Ground - class monrovia.server.platform.Ground.
The abstract base class of all ground map objects.
Ground() - Constructor for class monrovia.server.platform.Ground
Constructor.

H

handleKeyDown(int) - Method in class monrovia.client.ui.BasicScrollTextBox
The user pressed a key.
handleKeyDown(int) - Method in class monrovia.client.ui.CommandMenu
The user pressed a key.
handlePenDown(int, int) - Method in class monrovia.client.ui.BasicScrollTextBox
The pen has gone down at (x, y).
handlePenDown(int, int) - Method in class monrovia.client.ui.CommandMenu
Indicates the the pen has gone down at (x, y).
handlePenMove(int, int) - Method in class monrovia.client.ui.BasicScrollTextBox
The pen has moved at (x, y).
handlePenMove(int, int) - Method in class monrovia.client.ui.CommandMenu
The pen has moved at (x, y).
hashCode() - Method in class monrovia.server.core.ProtocolHandlerImpl.SocketKey
 
hasPlayer(String, boolean) - Method in class monrovia.server.core.AppControlImpl
 
hasPlayer(String, boolean) - Method in interface monrovia.server.core.AppControl
Returns true, if there is a player with the name specified.
hasPlayer(String, boolean) - Method in class monrovia.server.core.AppControlImpl_Stub
 

I

iconToByteArray(short[]) - Static method in class monrovia.server.core.GameDataImpl
 
indexOf(Object) - Method in class monrovia.tools.ArrayIDList
Searches for the first occurence of the given argument, testing for equality using the equals method.
init() - Method in class monrovia.client.MonroviaClient
Initializes the stuff we do not want to create before connecting.
init() - Method in class monrovia.client.ui.BasicScrollTextBox
Initialize the object.
init(Map, CommandMenu, Stats) - Static method in class monrovia.client.util.Demo
 
init(short[][]) - Method in class monrovia.client.ui.Map
Initializer for the map array structure of the bitmaps.
initialize() - Method in class monrovia.server.platform.GameObject
Called when this object is really created.
initialize() - Method in class monrovia.server.platform.Creature
 
initialize() - Method in class monrovia.server.platform.map.PlayerCreature
 
IntPoint - class monrovia.tools.IntPoint.
Two dimensional point.
IntPoint() - Constructor for class monrovia.tools.IntPoint
 
IntPoint(int, int) - Constructor for class monrovia.tools.IntPoint
 
intToBytes(int, int) - Method in class monrovia.protocol.ByteConverter
Convert an int to bytes at offset
isAlive() - Method in class monrovia.server.platform.Creature
 
isChanged() - Method in class monrovia.tools.ParameterMap
Returns true, if the values has been changed after last sync.
isComputer() - Method in interface monrovia.server.platform.map.ComputerCreature
Returns whether this creature is a computer creature.
isComputer() - Method in class monrovia.game.creatures.ComputerGameCreature
Returns whether this creature is a computer creature.
isEmpty() - Method in class monrovia.tools.ArrayIDList
 
isExecute() - Method in class monrovia.server.platform.Command
Returns true, if this command is about to execute.
isFreeForArrival() - Method in class monrovia.server.platform.Ground
 
isFreeForArrival() - Method in class monrovia.server.platform.map.ArenaPort
 
isInArea(int, int) - Method in class monrovia.tools.IntPoint
 
isInArea(IntPoint) - Method in class monrovia.tools.IntPoint
 
isLogged() - Method in class monrovia.server.core.Player
 
isMapArea(String) - Method in class monrovia.server.core.GameDataImpl
 
isMapArea(String) - Method in class monrovia.server.core.GameInterface
 
isMoving() - Method in class monrovia.game.creatures.GameCreature
Are we moving this round
isPlayer() - Method in class monrovia.server.platform.map.PlayerCreature
Returns whether this creature is a player creature.
isRunning() - Method in class monrovia.server.platform.MapArea
 
isSavePoint() - Method in class monrovia.server.platform.map.PlayerCreature
Return whether the current location will be set as the starting point.
isScared() - Method in class monrovia.game.creatures.ComputerGameCreature
Are we scared
isScared() - Method in class monrovia.game.creatures.NeutralCreature
Are we scared
isScared() - Method in class monrovia.game.creatures.AggressiveCreature
Are we scared
isScared() - Method in class monrovia.game.creatures.ScaredCreature
Are we scared
isVisibleEnemy(GameCreature) - Method in class monrovia.game.creatures.ComputerGameCreature
Is the creature in sight our enemy
isVisibleEnemy(GameCreature) - Method in class monrovia.game.creatures.NeutralCreature
Is the creature in sight our enemy
isVisibleEnemy(GameCreature) - Method in class monrovia.game.creatures.AggressiveCreature
Is the creature in sight our enemy
isVisibleEnemy(GameCreature) - Method in class monrovia.game.creatures.ScaredCreature
Is the creature in sight our enemy
iterator() - Method in class monrovia.tools.ArrayIDList
Returns an iterator over the elements in this list in proper sequence.

K

kartta - Static variable in class monrovia.client.util.Demo
 
keyDown(int) - Method in class monrovia.client.MonroviaClient
This method is invoked if the user presses either of the page up or page down hard keys, taps the calculator or menu icon, or enters a character (e.g.
keyDown(int) - Method in class monrovia.client.ui.SayDialog
User has pressed a button.
keyDown(int) - Method in class monrovia.client.ui.ConnectDialog
This method is invoked if the user enters a character (e.g.
keyDown(int) - Method in class monrovia.client.ui.MessageDialog
If we have a ScrollTextBox, then allow scrolling.

L

lastIndexOf(Object) - Method in class monrovia.tools.ArrayIDList
Searches for the last occurence of the give argument, testing for equality using the equals method.
listIterator() - Method in class monrovia.tools.ArrayIDList
 
listIterator(int) - Method in class monrovia.tools.ArrayIDList
 
loadGame(GameData) - Method in class monrovia.server.storage.MonroviaGameData
 
loadGame(GameDataStorage.GameData) - Method in class monrovia.server.core.BasicGameData
 
loadGame(GameDataStorage.GameData) - Method in interface monrovia.server.core.GameDataStorage
Load the game data.
loadPlayer(String, PlayerData) - Method in class monrovia.server.storage.MonroviaGameData
Loads player settings for a player from a xml file
loadPlayer(String, PlayerStorage.PlayerData) - Method in interface monrovia.server.core.PlayerStorage
Load a player.
LOG_LEVEL_ALL - Static variable in class monrovia.tools.Logger
 
LOG_LEVEL_DEBUG - Static variable in class monrovia.tools.Logger
 
LOG_LEVEL_NONE - Static variable in class monrovia.tools.Logger
 
LOG_LEVEL_NORMAL - Static variable in class monrovia.tools.Logger
 
LOG_LEVEL_SILENT - Static variable in class monrovia.tools.Logger
 
LOG_LEVEL_VERBOSE - Static variable in class monrovia.tools.Logger
 
log(String) - Static method in class monrovia.tools.Logger
log logs the the message with LOG_LEVEL_NORMAL
log(String, int) - Static method in class monrovia.tools.Logger
log logs the message with the given loglevel
Logger - class monrovia.tools.Logger.
The servers logger
Logger(OutputStream, int) - Constructor for class monrovia.tools.Logger
the constructor initializes the logger to log to the given outputstream
Logger(OutputStream, int, int) - Constructor for class monrovia.tools.Logger
the constructor initializes the logger to log to the given outputstream
Logger(String, int) - Constructor for class monrovia.tools.Logger
the constructor opens the file for logging
Look - class monrovia.game.commands.Look.
Command for looking at visible creatures healths
Look() - Constructor for class monrovia.game.commands.Look
 

M

main(String[]) - Static method in class monrovia.server.core.Starter
 
main(String[]) - Static method in class monrovia.server.control.MonroviaControl
 
main(String[]) - Static method in class monrovia.client.MonroviaClient
This is the first function to be executed when starting the code.
makeAnswer(int) - Static method in class monrovia.client.util.Demo
 
makeButton(int, int) - Method in class monrovia.client.ui.MenuCommand
Constructs the command button.
makeButton(int, int, Bitmap) - Method in class monrovia.client.ui.MenuCommand
Constructs the command button with the given bitmap.
Map - class monrovia.client.ui.Map.
This is the class for the game map which is built from bitmap tiles.
Map(int, int, int, int) - Constructor for class monrovia.client.ui.Map
Constructor for the map.
MapArea - class monrovia.server.platform.MapArea.
This class represents a single map area in the game.
MapArea(String, int, int, List, GameObjectData) - Constructor for class monrovia.server.platform.MapArea
Constructor.
mapSize(int[][]) - Static method in class monrovia.protocol.ByteConverter
calculates the size fo a map required for transport 2 x dimension, 2 y dimension, bitmapids
mAttackTarget - Variable in class monrovia.game.creatures.GameCreature
 
maxVal - Variable in class monrovia.client.ui.BasicScrollTextBox
 
mConnectionOpen - Variable in class monrovia.client.protocol.UdpReceiver
 
mConnectionOpen - Variable in class monrovia.protocol.server.ProtocolServerThread
 
mConnectionOpen - Variable in class monrovia.protocol.server.ServerUdpReceiver
 
mDatagramConnection - Variable in class monrovia.client.protocol.UdpSender
 
menuClose(Menu, MenuItem) - Method in class monrovia.client.MonroviaClient
This method is called when the menu is closed.
MenuCommand - class monrovia.client.ui.MenuCommand.
The class for the menu commands.
MenuCommand(int, String, byte) - Constructor for class monrovia.client.ui.MenuCommand
Constructor for the class.
MessageDialog - class monrovia.client.ui.MessageDialog.
A pop-up modal dialog that displays a title string, text box full of text, and a dismiss button.
MessageDialog(DialogOwner, String, String) - Constructor for class monrovia.client.ui.MessageDialog
Create a new message dialog.
mId - Variable in class monrovia.protocol.Command
mId is the identifier of this command
mIntValue - Variable in class monrovia.protocol.Stat
the int
minVal - Variable in class monrovia.client.ui.BasicScrollTextBox
 
mIsIntStat - Variable in class monrovia.protocol.Stat
if mIsIntStat is true this Stat contains an int otherwise its a string
mListening - Variable in class monrovia.protocol.server.ProtocolServer
 
mMap - Static variable in class monrovia.client.util.Demo
 
mMenu - Static variable in class monrovia.client.util.Demo
 
mMsgCrit - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgFleeFalse - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgFleeTrue - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgHit - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgMiss - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgYouCrit - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgYouFleeFalse - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgYouFleeTrue - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgYouHit - Static variable in class monrovia.game.creatures.GameCreature
 
mMsgYouMiss - Static variable in class monrovia.game.creatures.GameCreature
 
mName - Variable in class monrovia.protocol.Command
mName is the string name to be displayed
mName - Variable in class monrovia.protocol.Stat
the name of this stat
monrovia.client - package monrovia.client
 
monrovia.client.protocol - package monrovia.client.protocol
 
monrovia.client.ui - package monrovia.client.ui
 
monrovia.client.util - package monrovia.client.util
 
monrovia.game.commands - package monrovia.game.commands
 
monrovia.game.creatures - package monrovia.game.creatures
 
monrovia.protocol - package monrovia.protocol
 
monrovia.protocol.server - package monrovia.protocol.server
 
monrovia.server.control - package monrovia.server.control
 
monrovia.server.core - package monrovia.server.core
 
monrovia.server.platform - package monrovia.server.platform
 
monrovia.server.platform.commands - package monrovia.server.platform.commands
 
monrovia.server.platform.map - package monrovia.server.platform.map
 
monrovia.server.storage - package monrovia.server.storage
 
monrovia.tools - package monrovia.tools
 
MonroviaClient - class monrovia.client.MonroviaClient.
This is the main class of the client application and user interface.
MonroviaClient() - Constructor for class monrovia.client.MonroviaClient
Constructor for the Spotlet class.
MonroviaControl - class monrovia.server.control.MonroviaControl.
Class for controlling monrovia.
MonroviaControl() - Constructor for class monrovia.server.control.MonroviaControl
 
MonroviaGameData - class monrovia.server.storage.MonroviaGameData.
Monrovia game data storage.
MonroviaGameData() - Constructor for class monrovia.server.storage.MonroviaGameData
Default constructor
MonroviaGameData(File) - Constructor for class monrovia.server.storage.MonroviaGameData
Constructor
mStrValue - Variable in class monrovia.protocol.Stat
the string
mType - Variable in class monrovia.protocol.Command
mType is the type as in 0,1,2 ints or string

N

NeutralCreature - class monrovia.game.creatures.NeutralCreature.
NeutralCreature attacks all players(and monsters), who have attacked it
NeutralCreature() - Constructor for class monrovia.game.creatures.NeutralCreature
 
newLocation(int, int) - Method in class monrovia.client.MonroviaClient
Sets the location of the player in this arena.
newLocation(int, int) - Method in interface monrovia.client.protocol.ClientProtocolHandler
sets the location of the player in this arena
newMessage(String) - Method in class monrovia.client.MonroviaClient
Adds a new message to the message window.
newMessage(String) - Method in interface monrovia.client.protocol.ClientProtocolHandler
adds new message
newObject(int, int, int) - Method in class monrovia.client.MonroviaClient
Adds new dynamic map object to the map.
newObject(int, int, int) - Method in interface monrovia.client.protocol.ClientProtocolHandler
adds new map object
newTurn(int, int) - Method in class monrovia.protocol.server.ServerUdpSender
newTurn initializes a new udp message
nolla - Static variable in class monrovia.client.util.Demo
 
NoSuchPlayerException - exception monrovia.server.core.NoSuchPlayerException.
Exception to throw when there is no such player.
NoSuchPlayerException() - Constructor for class monrovia.server.core.NoSuchPlayerException
 
numLines - Variable in class monrovia.client.ui.BasicScrollTextBox
 

O

orkki - Static variable in class monrovia.client.util.Demo
 

P

paint() - Method in class monrovia.client.ui.SayDialog
Paint the Dialog and set the input focus to the text field.
paint() - Method in class monrovia.client.ui.ConnectDialog
Paint the Dialog and set the input focus to the login field.
paint() - Method in class monrovia.client.ui.Map
Paint the bitmaps which make the map on the screen.
paint() - Method in class monrovia.client.ui.MessageDialog
Paint the Dialog.
paint(boolean) - Method in class monrovia.client.MonroviaClient
Draw the borders, command menu, message window, statistics information and other buttons.
paint(boolean) - Method in class monrovia.client.ui.BasicScrollTextBox
Paint the ScrollTextBox2.
ParameterMap - class monrovia.tools.ParameterMap.
Parameter map with types and values.
ParameterMap() - Constructor for class monrovia.tools.ParameterMap
Constructor.
penDown(int, int) - Method in class monrovia.client.MonroviaClient
This method is invoked if the user places the pen on the display.
penDown(int, int) - Method in class monrovia.client.ui.SayDialog
Indicate that the pen has gone down at (pX, pY).
penDown(int, int) - Method in class monrovia.client.ui.ConnectDialog
This method is invoked if the user places the pen on the display.
penDown(int, int) - Method in class monrovia.client.ui.MessageDialog
If the user pressed the dismiss button, dismiss the Dialog.
penMove(int, int) - Method in class monrovia.client.MonroviaClient
This method is invoked if the user moves the pen over the display.
penMove(int, int) - Method in class monrovia.client.ui.MessageDialog
If we have a ScrollTextBox, then allow scrolling.
Player - class monrovia.server.core.Player.
Player object.
PLAYER_ICON - Static variable in class monrovia.server.core.GameDataImpl
 
PLAYER_ICON_ID - Static variable in class monrovia.server.core.GameDataImpl
 
Player(int, String) - Constructor for class monrovia.server.core.Player
Deprecated. Use the version without implementation
Player(int, String, Player) - Constructor for class monrovia.server.core.Player
 
Player(int, String, String) - Constructor for class monrovia.server.core.Player
 
Player(String, String) - Constructor for class monrovia.server.core.Player
 
PlayerCreature - class monrovia.server.platform.map.PlayerCreature.
Creature for the player.
PlayerCreature() - Constructor for class monrovia.server.platform.map.PlayerCreature
Constructor.
PlayerDataImpl - class monrovia.server.core.PlayerDataImpl.
Handles the player data.
PlayerDataImpl(PlayerStorage, String) - Constructor for class monrovia.server.core.PlayerDataImpl
Constructor.
PlayerStorage - interface monrovia.server.core.PlayerStorage.
Interface for loading and saving player data.
PlayerStorage.PlayerData - interface monrovia.server.core.PlayerStorage.PlayerData.
 
postExecute() - Method in class monrovia.server.platform.Command
Post execute hook.
postExecute() - Method in class monrovia.server.platform.commands.Walk
 
preExecute() - Method in class monrovia.server.platform.Command
Pre execute hook.
print(int) - Static method in class monrovia.client.util.Debug
 
print(Object) - Static method in class monrovia.client.util.Debug
The fuction for printing debug messages.
printAll(DialogOwner) - Method in class monrovia.client.ui.Stats
Print the statistics in the modal dialog and display it.
println(int) - Static method in class monrovia.client.util.Debug
 
println(Object) - Static method in class monrovia.client.util.Debug
 
printTime(String) - Static method in class monrovia.client.util.Debug
 
PROTOCOL_VERSION - Static variable in class monrovia.protocol.TcpOpcodes
 
ProtocolClient - class monrovia.client.protocol.ProtocolClient.
ProtocolClient is the main class for connecting to the server.
ProtocolClient(String, int, ClientProtocolHandler, String, String) - Constructor for class monrovia.client.protocol.ProtocolClient
Constructor, initializes the ProtocolClient
ProtocolClient(String, int, ClientProtocolHandler, String, String, boolean) - Constructor for class monrovia.client.protocol.ProtocolClient
Constructor, initializes the ProtocolClient
ProtocolHandler - interface monrovia.protocol.server.ProtocolHandler.
 
ProtocolHandlerImpl - class monrovia.server.core.ProtocolHandlerImpl.
Implementation of the protocol handler.
ProtocolHandlerImpl.SocketKey - class monrovia.server.core.ProtocolHandlerImpl.SocketKey.
 
ProtocolHandlerImpl(PlayerDataImpl, GameDataImpl) - Constructor for class monrovia.server.core.ProtocolHandlerImpl
Constructor.
ProtocolServer - class monrovia.protocol.server.ProtocolServer.
The ProtocolServer.
ProtocolServer(ServerSocket, ProtocolHandler, DatagramSocket) - Constructor for class monrovia.protocol.server.ProtocolServer
Initializes the protocol server.
ProtocolServerThread - class monrovia.protocol.server.ProtocolServerThread.
ProtocolServerThread:
ProtocolServerThread(Socket, ProtocolHandler, DatagramSocket) - Constructor for class monrovia.protocol.server.ProtocolServerThread
Constuctor
puu - Static variable in class monrovia.client.util.Demo
 

R

reconnect(String) - Method in class monrovia.server.platform.map.PlayerCreature
 
refresh() - Method in class monrovia.client.MonroviaClient
Tells the client that all the information for this turn has arrived.
refresh() - Method in interface monrovia.client.protocol.ClientProtocolHandler
refresh tells the client that all the info for turn has arrived
refresh(boolean) - Method in class monrovia.client.ui.Stats
Print a brief version of the statistics on the game screen.
refresh(boolean) - Method in class monrovia.client.ui.CommandMenu
Clear and repaint the menu.
registerBitmap(int, short[]) - Method in class monrovia.client.ui.Map
Introduce a new bitmap to be shown in the map.
registerStat(int, Stat) - Method in class monrovia.client.ui.Stats
Tell the class that there is a new statistics information which will be printed on the screen when given some value for it.
remove(int) - Method in class monrovia.tools.ArrayIDList
Frees the given ID.
remove(Object) - Method in class monrovia.tools.ArrayIDList
 
remove(String) - Method in class monrovia.tools.ParameterMap
Remove a key from this map.
removeAll(Collection) - Method in class monrovia.tools.ArrayIDList
 
removeClient(int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
removeClient(int) - Method in interface monrovia.protocol.server.ProtocolHandler
removeClient remove pClientID from active clients
removeCommand(int) - Method in class monrovia.client.ui.CommandMenu
Remove a command from the menu.
removeEnemy(GameCreature) - Method in class monrovia.game.creatures.GameCreature
Remove an enemy and if no attack target exists set it to be the first one
removeEnemy(GameCreature) - Method in class monrovia.game.creatures.NeutralCreature
Remove an enemy
removeEnemy(GameCreature) - Method in class monrovia.game.creatures.ScaredCreature
Remove an enemy
removeParameter(String) - Method in class monrovia.server.platform.GameObject
Remove a parameter.
removePlayer(boolean) - Method in class monrovia.server.control.MonroviaControl
 
removePlayer(int) - Method in class monrovia.server.core.PlayerDataImpl
 
removePlayer(String) - Method in interface monrovia.server.core.PlayerStorage
Remove a player once and for all.
removePlayer(String) - Method in class monrovia.server.storage.MonroviaGameData
Removes player permanently
removePlayer(String, boolean) - Method in class monrovia.server.core.AppControlImpl
 
removePlayer(String, boolean) - Method in interface monrovia.server.core.AppControl
Remove a player.
removePlayer(String, boolean) - Method in class monrovia.server.core.AppControlImpl_Stub
 
reset() - Method in class monrovia.tools.ParameterMap
Set the stored values as the current ones and set the changed flag to false.
resetObject() - Method in class monrovia.server.platform.GameObject
Place for the game implementor to reset needed stuff.
resetObject() - Method in class monrovia.game.creatures.GameCreature
Resets this creature
resetObject() - Method in class monrovia.game.creatures.NeutralCreature
Resets this creature
resetObject() - Method in class monrovia.game.creatures.ScaredCreature
Resets this creature
resetParameters() - Method in class monrovia.server.platform.GameObject
Reset the parameters to the situation after initialize().
resetTime() - Static method in class monrovia.client.util.Debug
 
retainAll(Collection) - Method in class monrovia.tools.ArrayIDList
 
run() - Method in class monrovia.server.platform.MapArea
 
run() - Method in class monrovia.client.protocol.UdpReceiver
the listener implementation
run() - Method in class monrovia.client.protocol.ProtocolClient
the implementation
run() - Method in class monrovia.protocol.server.ProtocolServer
the implementation
run() - Method in class monrovia.protocol.server.ProtocolServerThread
the implementation
run() - Method in class monrovia.protocol.server.ServerUdpReceiver
the listeners implementation

S

savePlayer(String, PlayerData) - Method in class monrovia.server.storage.MonroviaGameData
Saves player settings for a player to a xml file
savePlayer(String, PlayerStorage.PlayerData) - Method in interface monrovia.server.core.PlayerStorage
Save a player.
Say - class monrovia.server.platform.commands.Say.
Command for saying something to other players.
Say() - Constructor for class monrovia.server.platform.commands.Say
Constructor.
SayDialog - class monrovia.client.ui.SayDialog.
This class handles the modal dialog where the user can write a message which is "said" to all of the characters in the screen.
SayDialog(DialogOwner, MenuCommand) - Constructor for class monrovia.client.ui.SayDialog
Constructor which save the coordinates and a handle to the dialog owner.
ScaredCreature - class monrovia.game.creatures.ScaredCreature.
ScaredCreature runs away from all players, who have attacked it
ScaredCreature() - Constructor for class monrovia.game.creatures.ScaredCreature
 
sendExit() - Method in class monrovia.client.protocol.TcpSender
sendExit sends the server a disconnect
sendExit() - Method in class monrovia.protocol.server.ServerTcpSender
sendExit asks the client to disconnect
sendReconnect() - Method in class monrovia.protocol.server.ServerTcpSender
sendReconnect is used to change arenas
sendUpdate() - Method in class monrovia.server.platform.map.PlayerCreature
Send update for the client
serverExit() - Method in class monrovia.client.MonroviaClient
Informs that the server has exited/killed our connection.
serverExit() - Method in interface monrovia.client.protocol.ClientProtocolHandler
informs that the server has exited/killed our connect
serverReconnect() - Method in class monrovia.client.MonroviaClient
Informs that the server wishes to reconnect the TCP connection for example when changing the arena.
serverReconnect() - Method in interface monrovia.client.protocol.ClientProtocolHandler
informs that the server wishes a reconnect (new connect via tcp and udp) purpose: arena change
ServerTcpSender - class monrovia.protocol.server.ServerTcpSender.
This class is the tcp sender class.
ServerTcpSender(BufferedOutputStream) - Constructor for class monrovia.protocol.server.ServerTcpSender
Constructor
ServerUdpReceiver - class monrovia.protocol.server.ServerUdpReceiver.
ServerUdpReceiver is the servers thread for receving udp messages from the clients
ServerUdpReceiver(DatagramSocket, ProtocolHandler) - Constructor for class monrovia.protocol.server.ServerUdpReceiver
Constructor
ServerUdpReceiver(ProtocolHandler) - Constructor for class monrovia.protocol.server.ServerUdpReceiver
Constructor
ServerUdpSender - class monrovia.protocol.server.ServerUdpSender.
This class is used to send UDP message to a single client.
ServerUdpSender(BufferedOutputStream) - Constructor for class monrovia.protocol.server.ServerUdpSender
Constructor
ServerUdpSender(DatagramSocket, InetAddress, int) - Constructor for class monrovia.protocol.server.ServerUdpSender
Constructor
set(int, Object) - Method in class monrovia.tools.ArrayIDList
 
set(String, Object) - Method in class monrovia.tools.ParameterMap
Set value for a key.
setAlive(boolean) - Method in class monrovia.server.platform.Creature
 
setAzoic(Azoic) - Method in class monrovia.server.platform.Ground
 
setAzoic(Azoic, IntPoint) - Method in class monrovia.server.platform.MapArea
Put an azoic to the map.
setBounds(int, int, int, int) - Method in class monrovia.client.ui.BasicScrollTextBox
Reset the display bounds of the ScrollTextBox2.
setByte(byte, int) - Method in class monrovia.protocol.ByteConverter
sets a byte at offset
setBytes(byte[], int) - Method in class monrovia.protocol.ByteConverter
sets bytes with length at offset
setCommand(Command) - Method in class monrovia.server.platform.Ground
 
setCommandMark(String, Command) - Method in class monrovia.server.platform.GameObject
Commands can set marks with this method to find out conflicts with other commands.
setCommandMessage(String) - Method in class monrovia.server.platform.Creature
 
setComputer(boolean) - Method in interface monrovia.server.platform.map.ComputerCreature
Set whether this is a computer controlled creature.
setComputer(boolean) - Method in class monrovia.game.creatures.ComputerGameCreature
Set whether this is a computer controlled creature.
setCreature(Creature) - Method in class monrovia.server.platform.Ground
 
setCreature(Creature) - Method in class monrovia.server.platform.map.ArenaPort
 
setCreatureData(String) - Method in interface monrovia.server.core.PlayerStorage.PlayerData
Set information for the player creature.
setCreatureData(String) - Method in class monrovia.server.core.Player
 
setData(byte[]) - Method in class monrovia.client.protocol.UdpReceiver
setData is the tcp side implementation of the monrovia protocol
setData(byte[], int) - Method in class monrovia.protocol.server.ServerUdpReceiver
sets data for tcp implementation of the monrovia protocol
setExecute(boolean) - Method in class monrovia.server.platform.Command
Set whether this command is about to execute.
setGround(Ground, IntPoint) - Method in class monrovia.server.platform.MapArea
Put an ground to the map.
setIntArgs(int[]) - Method in class monrovia.server.platform.Command
 
setLogged(boolean) - Method in class monrovia.server.core.Player
 
setMoving(boolean) - Method in class monrovia.game.creatures.GameCreature
Set this creature moving status this round
setNextCreature(Creature) - Method in class monrovia.server.platform.Ground
 
setParam(String, int) - Method in class monrovia.game.creatures.GameCreature
Type conversion help
setParameter(String, Object) - Method in class monrovia.server.core.GameDataImpl.ObjectDataImpl
 
setParameter(String, Object) - Method in interface monrovia.server.core.GameDataStorage.ObjectData
Set value for a parameter in the game object
setParameter(String, Object) - Method in interface monrovia.server.core.PlayerStorage.PlayerData
Set value for a parameter in the creature.
setParameter(String, Object) - Method in class monrovia.server.core.Player
 
setParameter(String, Object) - Method in class monrovia.server.platform.GameObject
Set the value for a parameter.
setPassword(String) - Method in interface monrovia.server.core.PlayerStorage.PlayerData
Set the password for the player.
setPassword(String) - Method in class monrovia.server.core.Player
 
setPlayer(boolean) - Method in class monrovia.server.platform.map.PlayerCreature
This is used by the platform to mark this creature as player creature.
setPlayerCreatureImpl(String) - Method in class monrovia.server.core.GameDataImpl
 
setPlayerCreatureImpl(String) - Method in interface monrovia.server.core.GameDataStorage.GameData
Set the class that implements player creature.
setProtocolTurn(int) - Method in class monrovia.server.core.Player
 
setSavePoint(boolean) - Method in class monrovia.server.platform.map.PlayerCreature
Set whether the current location will be set as the starting point.
setScrollValue(int) - Method in class monrovia.client.ui.BasicScrollTextBox
Set the current scroll value and repaint.
setScrollValue(int) - Method in class monrovia.client.ui.CommandMenu
Set the current scroll value and repaint.
setSenders(ServerTcpSender, ServerUdpSender) - Method in class monrovia.server.platform.map.PlayerCreature
Set the senders that are used to communicate to the client.
setSocketKey(ProtocolHandlerImpl.SocketKey) - Method in class monrovia.server.core.Player
 
setStat(int, int) - Method in class monrovia.client.ui.Stats
Update the value of an integer type statistics iformation
setStat(int, String) - Method in class monrovia.client.ui.Stats
Update the value of a string type statistics iformation
setStatValue(int) - Method in class monrovia.protocol.Stat
Set int stat value.
setStatValue(String) - Method in class monrovia.protocol.Stat
Set string stat value.
setStringArg(String) - Method in class monrovia.server.platform.Command
 
setTarget(GameCreature) - Method in class monrovia.game.creatures.GameCreature
Set the target for attacks
setText(String) - Method in class monrovia.client.ui.BasicScrollTextBox
Set the text.
setTurn(int, int) - Method in class monrovia.server.core.ProtocolHandlerImpl
 
setTurn(int, int) - Method in interface monrovia.protocol.server.ProtocolHandler
setTurn sets ClientID:s turn
setWalkImplementation(String) - Method in class monrovia.server.core.GameDataImpl
 
setWalkImplementation(String) - Method in interface monrovia.server.core.GameDataStorage.GameData
Set the class that implements walking.
shortToBytes(short, int) - Method in class monrovia.protocol.ByteConverter
Convert a short to bytes at offset
showDialog() - Method in class monrovia.client.ui.SayDialog
Show the Dialog: register it and paint it.
showDialog() - Method in class monrovia.client.ui.ConnectDialog
Show the Dialog: register it and paint it.
showDialog() - Method in class monrovia.client.ui.MessageDialog
Show the Dialog: register it and paint it.
shutdown() - Method in class monrovia.server.core.AppControlImpl
 
shutdown() - Method in interface monrovia.server.core.AppControl
Shutdown for the server.
shutdown() - Method in class monrovia.server.core.AppControlImpl_Stub
 
shutdown() - Method in class monrovia.server.control.MonroviaControl
 
size() - Method in class monrovia.tools.ArrayIDList
 
start() - Method in class monrovia.server.platform.MapArea
 
Starter - class monrovia.server.core.Starter.
The class that is used to start the server.
Starter() - Constructor for class monrovia.server.core.Starter
 
startSending() - Method in class monrovia.protocol.server.ServerUdpSender
 
startSending() - Method in class monrovia.protocol.server.ServerUdpReceiver
startSending allows the sender to send messages, if not called nothing will happen
Stat - class monrovia.protocol.Stat.
The Stat class is used for sending stats to the client
Stat(String, int) - Constructor for class monrovia.protocol.Stat
Constructor for an int stat
Stat(String, String) - Constructor for class monrovia.protocol.Stat
Constructor for a string stat
Stats - class monrovia.client.ui.Stats.
This class handles the player statistics printing.
Stats(int, int, int, int) - Constructor for class monrovia.client.ui.Stats
Constructor for the class.
statSize(Stat[]) - Static method in class monrovia.protocol.ByteConverter
calculates the size of the stats each stat: 16 name, 1 type, 16 value
stop() - Method in class monrovia.server.platform.MapArea
 
StorageException - exception monrovia.server.core.StorageException.
Exception that storage implementation can throw in case of error.
StorageException(String) - Constructor for class monrovia.server.core.StorageException
Constructor.
stringToBytes(String, int) - Method in class monrovia.protocol.ByteConverter
Convert a string to bytes at offset
stringToBytes(String, int, int) - Method in class monrovia.protocol.ByteConverter
Convert a string to bytes at offset with max length
subList(int, int) - Method in class monrovia.tools.ArrayIDList
 
subtract(IntPoint) - Method in class monrovia.tools.IntPoint
 
sync() - Method in class monrovia.tools.ParameterMap
Set the current values as the stored ones and set the changed flag to false.

T

TCP_OPCODE_CLIENT_EXIT - Static variable in class monrovia.protocol.TcpOpcodes
 
TCP_OPCODE_SERVER_AUTHFAILED - Static variable in class monrovia.protocol.TcpOpcodes
 
TCP_OPCODE_SERVER_AUTHOK - Static variable in class monrovia.protocol.TcpOpcodes
 
TCP_OPCODE_SERVER_BADUDP - Static variable in class monrovia.protocol.TcpOpcodes
 
TCP_OPCODE_SERVER_EXIT - Static variable in class monrovia.protocol.TcpOpcodes
 
TCP_OPCODE_SERVER_FULL - Static variable in class monrovia.protocol.TcpOpcodes
 
TCP_OPCODE_SERVER_OBSOLETECLIENT - Static variable in class monrovia.protocol.TcpOpcodes
 
TCP_OPCODE_SERVER_RECONNECT - Static variable in class monrovia.protocol.TcpOpcodes
 
TcpOpcodes - class monrovia.protocol.TcpOpcodes.
The TcpOpcodes class contains the constants of the tcp side of the protocol
TcpOpcodes() - Constructor for class monrovia.protocol.TcpOpcodes
 
TcpSender - class monrovia.client.protocol.TcpSender.
TcpSender contains the methods to send messages to the server
TcpSender(DataOutputStream) - Constructor for class monrovia.client.protocol.TcpSender
Constructor
textBuffer - Variable in class monrovia.client.ui.BasicScrollTextBox
 
toArray() - Method in class monrovia.tools.ArrayIDList
 
toArray(Object[]) - Method in class monrovia.tools.ArrayIDList
 
toString() - Method in class monrovia.server.core.ProtocolHandlerImpl.SocketKey
 
toString() - Method in class monrovia.server.platform.GameObject
 
toString() - Method in class monrovia.server.platform.GameObjectData
 
toString() - Method in class monrovia.tools.IntPoint
 
toString() - Method in class monrovia.tools.ArrayIDList
 
tryExecution() - Method in class monrovia.server.platform.Command
Check and set marks to see whether this command conflicts with any other command.
tryExecution() - Method in class monrovia.server.platform.commands.Say
 
tryExecution() - Method in class monrovia.server.platform.commands.Walk
 
tryExecution() - Method in class monrovia.game.commands.Look
 
tryExecution() - Method in class monrovia.game.commands.GameWalk
 
tryFlee(GameCreature) - Method in class monrovia.game.creatures.GameCreature
Checks if flight attempt is successful

U

UDP_ACTION_STANDARD_EAST - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_NORTH - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_NORTHEAST - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_NORTHWEST - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_SAY - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_SOUTH - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_SOUTHEAST - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_SOUTHWEST - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_ACTION_STANDARD_WEST - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_BITMAP_STANDARD_GROUND - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_BITMAP_STANDARD_PLAYER - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_CLIENT_SIDE_SIZE - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_SPECIAL - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_SPECIAL_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_SPECIAL_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_SPECIAL_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_STANDARD - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_STANDARD_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_STANDARD_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_ACTION_STANDARD_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_LASTOPCODE - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_LASTPACKET - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_CLIENT_RETRANSMIT_STATS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_SPECIAL - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_SPECIAL_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_SPECIAL_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_SPECIAL_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_STANDARD - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_STANDARD_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_STANDARD_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_ACTION_STANDARD_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_COMMAND - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_INVENTORY - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_LASTOPCODE - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_LASTPACKET - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_MESSAGE - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_OBJECT - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_STATS_INT - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_OPCODE_SERVER_STATS_STRING - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SERVER_ALLOWED_TURN_DELAY - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SERVER_SIDE_SIZE - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_SPECIAL - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_SPECIAL_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_SPECIAL_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_SPECIAL_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_STANDARD - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_STANDARD_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_STANDARD_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_ACTION_STANDARD_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_CLIENT_ID - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_ARG1 - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_ARG2 - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_COMMANDID - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_COMMANDID_SPECIAL - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_SPECIAL - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_SPECIAL_1ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_SPECIAL_1STRARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_SPECIAL_2ARGS - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_COMMAND_STRARG - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_INVENTORY - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_INVENTORY_COMMAND1 - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_INVENTORY_COMMAND2 - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_INVENTORY_ITEMID - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_INVENTORY_PROPERTY - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_INVENTORY_TEXT - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_INVENTORY_TILEID - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_LAST - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_MAPX - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_MAPY - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_MESSAGE - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_OBJECT - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_OBJECT_DELTAX - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_OBJECT_DELTAY - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_OBJECT_TILEID - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_OPCODE - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_PACKETID - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_STATS_INT - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_STATS_INTSTAT - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_STATS_STATID - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_STATS_STRING - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_STATS_STRINGSTAT - Static variable in class monrovia.protocol.UdpOpcodes
 
UDP_SIZE_TURNCOUNT - Static variable in class monrovia.protocol.UdpOpcodes
 
UdpOpcodes - class monrovia.protocol.UdpOpcodes.
The UdpOpcodes class contains the constants for the udp side of the monrovia protocol
UdpOpcodes() - Constructor for class monrovia.protocol.UdpOpcodes
 
UdpReceiver - class monrovia.client.protocol.UdpReceiver.
UdpReceiver is the thread listening for udp messages from the server
UdpReceiver(ClientProtocolHandler) - Constructor for class monrovia.client.protocol.UdpReceiver
Constructor
UdpReceiver(DatagramConnection, ClientProtocolHandler) - Constructor for class monrovia.client.protocol.UdpReceiver
Constructor
UdpSender - class monrovia.client.protocol.UdpSender.
UdpSender is the clients udp message sender for sending udp messages to the server
UdpSender(DataOutputStream) - Constructor for class monrovia.client.protocol.UdpSender
Constructor
UdpSender(int, String, int) - Constructor for class monrovia.client.protocol.UdpSender
Constructor
ukko - Static variable in class monrovia.client.util.Demo
 
update() - Method in class monrovia.server.platform.Creature
 
update() - Method in class monrovia.game.creatures.GameCreature
Update should be called at the end of each round by the platform to update hit points etc.
updateMap(int, int, int) - Method in class monrovia.client.ui.Map
Updates a dynamic map object.
updatePosition(int, int) - Method in class monrovia.client.ui.Map
Set a new center (player) position so that the map can be scrolled in the display.

V

VERSION - Static variable in class monrovia.server.core.Starter
 
visibleLines - Variable in class monrovia.client.ui.BasicScrollTextBox
 
vsb - Variable in class monrovia.client.ui.BasicScrollTextBox
 
vuori - Static variable in class monrovia.client.util.Demo
 

W

Walk - class monrovia.server.platform.commands.Walk.
Implementation for walk command.
Walk() - Constructor for class monrovia.server.platform.commands.Walk
 
wasQuit() - Method in class monrovia.client.ui.ConnectDialog
Has the user pressed the Quit button?

X

x - Static variable in class monrovia.client.util.Demo
 

Y

y - Static variable in class monrovia.client.util.Demo
 

A B C D E F G H I K L M N O P R S T U V W X Y