Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
E
F
G
H
I
J
L
M
N
P
R
S
V
W
A
Action
- class net.sourceforge.worldsaver.rp.
Action
.
This is the abstract superclass of all actions.
Action(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Action
Creates a new action of a loaded String.
Action(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Action
Creates a new action with a father and a name.
ActionDialog
- class net.sourceforge.worldsaver.names.
ActionDialog
.
This dialog displays buttons for the functionality provided by the Names class and used by the Namer class/application.
ActionDialog(Frame, boolean, Names)
- Constructor for class net.sourceforge.worldsaver.names.
ActionDialog
Almost a standard constructor, but requires a Names object to let the actions take place somehow.
ActionParticle
- class net.sourceforge.worldsaver.rp.
ActionParticle
.
The ActionTree needed by Action classes consists of several of these ActionParticles.
ActionParticle(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
ActionParticle
Reconstructs an AP from a loaded String.
ActionParticle(String, String, IDGenerator)
- Constructor for class net.sourceforge.worldsaver.rp.
ActionParticle
Creates a new ActionParticle with the given decision message and the given text.
addChild(RpBase)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Adds the given object to the childs.
addDescription(String)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Appends the given String to the descrption of this object.
addPossession(RpBase)
- Method in class net.sourceforge.worldsaver.rp.
Person
Adds anything to the possessions of this person.
addSubParticle(ActionParticle)
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Adds another particle to this action tree (at this level).
Adventure
- class net.sourceforge.worldsaver.rp.
Adventure
.
This class implements an adventure.
Adventure(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Adventure
Constructs a new adventure from loaded data.
Adventure(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Adventure
The standard constructor.
Area
- class net.sourceforge.worldsaver.rp.
Area
.
The abstract base class for all areas.
Area(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Area
Creates a new area from loaded values.
Area(RpBase, String, int, int)
- Constructor for class net.sourceforge.worldsaver.rp.
Area
Creates a new area with a map with x*y tiles, the given name and belonging to the given father.
Armor
- class net.sourceforge.worldsaver.rp.
Armor
.
This class represents a piece of cloth...
Armor(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Armor
Constructs a new Armor from loaded data.
Armor(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Armor
The standard constructor.
B
Building
- class net.sourceforge.worldsaver.rp.
Building
.
This class represents a building.
Building(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Building
The other standard constructor, for details see area class and rpbase.
Building(RpBase, String, int, int)
- Constructor for class net.sourceforge.worldsaver.rp.
Building
The standard constructor, for details see the area class.
C
Campaign
- class net.sourceforge.worldsaver.rp.
Campaign
.
This class represents a campaign, normally a sorted list (more or less) of adventures.
Campaign(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Campaign
The standard constructor.
Campaign(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Campaign
The standard constructor.
Charlist
- class net.sourceforge.worldsaver.names.
Charlist
.
This is a class encapturing the probabilities of the Names-configfile.
Charlist(char)
- Constructor for class net.sourceforge.worldsaver.names.
Charlist
The constructor. ch is the char that should be encaptured by the new instance.
City
- class net.sourceforge.worldsaver.rp.
City
.
This class represents a City.
City(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
City
Standard constructor.
City(RpBase, String, int, int)
- Constructor for class net.sourceforge.worldsaver.rp.
City
Standard constructor.
Civilist
- class net.sourceforge.worldsaver.rp.
Civilist
.
Yes, this class represents a normal stupid civilist.
Civilist(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Civilist
Standard constructor.
Civilist(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Civilist
Standard constructor.
cleanFilters()
- Method in class net.sourceforge.worldsaver.names.
Names
This methods cleans out unnecessary entries in the filters.
CONSOLE_WIDTH
- Static variable in interface net.sourceforge.worldsaver.util.
MiscUtils
The console width, currently always 80 (until compiled with another value).
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Returns a new object with the same values as this object.
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Armor
Returns a copy of this Armor.
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Campaign
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
City
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Land
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Adventure
Returns a copy of this Adventure.
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Merchant
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Hero
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Stuff
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Building
Returns a complete copy of this object.
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Civilist
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
World
copy(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
Weapon
createActionTree(ActionParticle)
- Method in class net.sourceforge.worldsaver.rp.
Action
Sets the ActionTree that shall be used for the action.
createActionTree(ActionParticle)
- Method in class net.sourceforge.worldsaver.rp.
Campaign
createActionTree(ActionParticle)
- Method in class net.sourceforge.worldsaver.rp.
Adventure
Creates a new ActionTree.
createActionTree(ActionParticle)
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
createConfigvalues()
- Method in class net.sourceforge.worldsaver.names.
Names
This method creates new configvalues by analyzing the inputfile.
createDefaultModel()
- Method in class net.sourceforge.worldsaver.util.
JIntField
Overrides something in JTextField; it just returns an IntDocument (This
IS
a JIntField...)
createFiltervalues()
- Method in class net.sourceforge.worldsaver.names.
Names
This is the method which creates the filters magically.
E
execute()
- Method in class net.sourceforge.worldsaver.rp.
Action
Prepares the action for execution.
execute()
- Method in class net.sourceforge.worldsaver.rp.
Campaign
execute()
- Method in class net.sourceforge.worldsaver.rp.
Adventure
Prepares the adventure for execution.
execute()
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
exitApp()
- Method in class net.sourceforge.worldsaver.names.
Namer
Exits the java system (System.exit)
F
follower(int)
- Method in class net.sourceforge.worldsaver.names.
Charlist
Returns a follower-char for a given integer value.
G
GeneralOptions
- class net.sourceforge.worldsaver.names.
GeneralOptions
.
This is a dialog for the Namer application in which the user can configure the Names object.
GeneralOptions(Dialog, boolean, Names)
- Constructor for class net.sourceforge.worldsaver.names.
GeneralOptions
The standard constructor which needs a Names instance that is used to be configured.
GeneralOptions(Frame, boolean, Names)
- Constructor for class net.sourceforge.worldsaver.names.
GeneralOptions
The standard constructor which needs a Names instance that is used to be configured.
get(String)
- Method in class net.sourceforge.worldsaver.util.
Localizer
Returns the localized String mapping the key.
get(String, String)
- Method in class net.sourceforge.worldsaver.util.
Localizer
Returns the localized String mapping the key.
get(String, String, String)
- Method in class net.sourceforge.worldsaver.util.
Localizer
Returns the localized String mapping the key.
get(String, String, String, String)
- Method in class net.sourceforge.worldsaver.util.
Localizer
Returns the localized String mapping the key.
getActionTree()
- Method in class net.sourceforge.worldsaver.rp.
Action
Returns the top of the actiontree (used for saving purposes).
getChilds()
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Returns an iterator with the childs of this object.
getConfigfile()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the name of the configfile
getDecisionMessage()
- Method in class net.sourceforge.worldsaver.rp.
Action
If the action is running, this gets the current decision messages.
getDecisionMessage()
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Returns the decision message.
getDecisionMessages()
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Returns the decision messages of all following ActionParticles.
getDescription(boolean, boolean)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Returns the description of this object.
getException()
- Method in class net.sourceforge.worldsaver.rp.
Loader
Returns the exception that occured during the running Thread, or null if none occured.
getFather()
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Returns the father of this object.
getFilterfile()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the name of the filterfile
getID()
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Returns the unique ID of this instance.
getID()
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Returns the object ID.
getIdent()
- Method in class net.sourceforge.worldsaver.names.
Charlist
Returns the char the instance is representing.
getInputfile()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the name of the inputfile
getLengthOfMagic()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the length of names generated by createFiltervalues().
getLengthOfMagicString()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the length of names generated by createFiltervalues().
getLengthOfNames()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the length of generated names
getLengthOfTask()
- Method in class net.sourceforge.worldsaver.rp.
Loader
Returns the length of the task.
getLengthOfTask()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the length of the current task.
getLocation()
- Method in class net.sourceforge.worldsaver.rp.
Action
This returns the current location the running action takes place.
getMap(int, int)
- Method in class net.sourceforge.worldsaver.rp.
Area
Returns the list of objects that are on a specific location.
getMapX()
- Method in class net.sourceforge.worldsaver.rp.
Area
Returns the length of the x-axis of the map.
getMapY()
- Method in class net.sourceforge.worldsaver.rp.
Area
Returns the length of the y-axis of the map.
getMaxValue()
- Method in class net.sourceforge.worldsaver.util.
JIntField
Returns the maximum value.
getMessage()
- Method in class net.sourceforge.worldsaver.rp.
Loader
Returns the message what the Thread is doing right now.
getMessage()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns a message on what the running thread is doing right now.
getMinValue()
- Method in class net.sourceforge.worldsaver.util.
JIntField
Returns the minimum value.
getName()
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Returns the name of the object.
getName(int)
- Method in class net.sourceforge.worldsaver.names.
Names
Ever wanted to get a name computed without using your fantasy?
getNames()
- Method in class net.sourceforge.worldsaver.names.
Names
This method returns the predefined number of names as one string (names seperated by newlines).
getNextID()
- Method in class net.sourceforge.worldsaver.util.
IDGenerator
Returns the next ID.
getNumber()
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
getNumberOfLines(String)
- Static method in class net.sourceforge.worldsaver.util.
MiscMethods
Returns the number of lines contained in a string.
getNumberOfNames()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the number of generated names at once
getNumberToGenerate()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the amount of names that are generated for each setLengthOfMagic item when calling createFiltervalues()
getOptionsfile()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns the name of the optionsfile
getPossessions()
- Method in class net.sourceforge.worldsaver.rp.
Person
Returns an iterator containing all the possessions of the person.
getRandomEncounter()
- Method in class net.sourceforge.worldsaver.rp.
City
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Gets the references right by getting them out of the pool.
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Armor
Gets the references right after loading.
getReferencesRight(HashMap, IDGenerator)
- Method in interface net.sourceforge.worldsaver.rp.
Saveable
Must set the references right by getting the real objects out of the pool.
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Action
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Campaign
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Area
See RpBase for details.
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Adventure
Gets the references right after loading.
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Person
See RpBase for details.
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Gets the references right after loading.
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Building
Gets the references right by getting them out of the pool.
getReferencesRight(HashMap, IDGenerator)
- Method in class net.sourceforge.worldsaver.rp.
Civilist
Standard.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Returns the String describing this object.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Armor
Returns a saveable String.
getSaveableString()
- Method in interface net.sourceforge.worldsaver.rp.
Saveable
Must return a ready-to-save String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Action
Returns a saveable String describing this object.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Campaign
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Area
Returns a String which can immediately be saved to disk.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
City
Returns a ready-to-go saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Land
Returns a saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Adventure
Returns a saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Person
See RpBase for details.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Merchant
Returns a saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
Returns a saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Hero
Returns a ready-to-go saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Returns the saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Stuff
Returns the saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Building
Returns the saveable String for this object.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Civilist
Returns a ready-to-go saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
World
Returns a saveable String.
getSaveableString()
- Method in class net.sourceforge.worldsaver.rp.
Weapon
Returns a saveable String.
getStartLocation()
- Method in class net.sourceforge.worldsaver.rp.
Action
Returns the current start location.
getStatus()
- Method in class net.sourceforge.worldsaver.rp.
Loader
Returns the status of the current running thread.
getStatus()
- Method in class net.sourceforge.worldsaver.names.
Names
Indicates the percentile of completion of the current running thread.
getSubParticles()
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Returns the sub-particles of this particle.
getText()
- Method in class net.sourceforge.worldsaver.rp.
Action
This returns (when running) the text explaining the current situation.
getText()
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Returns the text describing the situation.
getValue()
- Method in class net.sourceforge.worldsaver.util.
JIntField
Returns the actual value.
getVerbose()
- Method in class net.sourceforge.worldsaver.names.
Names
Returns whether there will be output on stdout
getVisualization()
- Method in class net.sourceforge.worldsaver.rp.
Area
Returns a BufferedImage which shows the area.
getWorld()
- Method in class net.sourceforge.worldsaver.rp.
Loader
Returns a reference of the just loaded World, or null, if none has been loaded.
H
hasConfig()
- Method in class net.sourceforge.worldsaver.names.
Names
Indicates if configuration data has been created or loaded or not.
hasInput()
- Method in class net.sourceforge.worldsaver.names.
Names
Indicates if an inputfile has already been loaded.
Hero
- class net.sourceforge.worldsaver.rp.
Hero
.
Represents a Hero.
Hero(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Hero
Standard constructor.
Hero(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Hero
Standard constructor.
I
IDGenerator
- class net.sourceforge.worldsaver.util.
IDGenerator
.
This class guarantees to provide positive, unique long values for usage as IDs.
IDGenerator()
- Constructor for class net.sourceforge.worldsaver.util.
IDGenerator
Creates a new empty generator.
IDGenerator(HashSet)
- Constructor for class net.sourceforge.worldsaver.util.
IDGenerator
Creates a new generator with the already used values contained in the given HashSet.
increase(char)
- Method in class net.sourceforge.worldsaver.names.
Charlist
Use this to increase the probability of the char `a' following the char represented by this class.
isEndOfTree()
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Returns whether there is a deeper level of the action tree or not.
isReady()
- Method in class net.sourceforge.worldsaver.rp.
Loader
Returns whether the running thread is ready or not.
isReady()
- Method in class net.sourceforge.worldsaver.names.
Names
Indicates whether a thread is running in this names object or not.
isRunnable()
- Method in class net.sourceforge.worldsaver.rp.
Action
Returns whether the action is prepared to be executed.
isRunnable()
- Method in class net.sourceforge.worldsaver.rp.
Campaign
isRunnable()
- Method in class net.sourceforge.worldsaver.rp.
Adventure
Returns whether the action is runnable.
isRunnable()
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
isRunning()
- Method in class net.sourceforge.worldsaver.rp.
Action
If the execute() method is invoked and running, this returns true.
Item
- class net.sourceforge.worldsaver.rp.
Item
.
Item(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Item
Standard constructor.
Item(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Item
Standard constructor.
J
JIntField
- class net.sourceforge.worldsaver.util.
JIntField
.
This is a component that provides a textfield that accepts only integer values.
JIntField()
- Constructor for class net.sourceforge.worldsaver.util.
JIntField
Constructor that intitalizes the JIntField with min=0, max=100 and actual value=0.
JIntField(int, int, int)
- Constructor for class net.sourceforge.worldsaver.util.
JIntField
Constructor whom you must provide the initial value, min and max value.
L
Land
- class net.sourceforge.worldsaver.rp.
Land
.
Represents a Land.
Land(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Land
Standard constructor.
Land(RpBase, String, int, int)
- Constructor for class net.sourceforge.worldsaver.rp.
Land
Standard constructor.
lang
- Variable in class net.sourceforge.worldsaver.names.
Names
Loader
- class net.sourceforge.worldsaver.rp.
Loader
.
This class is designed to load a world and all objects around it from a reader and to do all the connecting world.
Loader(Reader)
- Constructor for class net.sourceforge.worldsaver.rp.
Loader
Reads the data from the given Reader.
loadOptions()
- Method in class net.sourceforge.worldsaver.names.
Names
Simply loads options from file.
Localizer
- class net.sourceforge.worldsaver.util.
Localizer
.
This is a wrapper class that handles several localized language files.
Localizer(Locale, String)
- Constructor for class net.sourceforge.worldsaver.util.
Localizer
Constructs a new Localizer.
M
main(String[])
- Static method in class net.sourceforge.worldsaver.names.
Names
Run this to run the cmdline application Names.
main(String[])
- Static method in class net.sourceforge.worldsaver.names.
Namer
Run this to run a Namer
Merchant
- class net.sourceforge.worldsaver.rp.
Merchant
.
Represents a merchant.
Merchant(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Merchant
Standard constructor.
Merchant(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Merchant
Standard constructor.
mergeArrays(String[], String[])
- Static method in class net.sourceforge.worldsaver.util.
MiscMethods
Merges two String arrays, sorts them and removes double Strings.
MiscMethods
- class net.sourceforge.worldsaver.util.
MiscMethods
.
This class provides some useful methods.
MiscMethods()
- Constructor for class net.sourceforge.worldsaver.util.
MiscMethods
MiscUtils
- interface net.sourceforge.worldsaver.util.
MiscUtils
.
This interface provides some useful constants.
N
Namer
- class net.sourceforge.worldsaver.names.
Namer
.
This is the Namer application main class.
Namer()
- Constructor for class net.sourceforge.worldsaver.names.
Namer
The constructor creates a new Names instance (and the normal stuff).
Names
- class net.sourceforge.worldsaver.names.
Names
.
This is Names, the class doing all the work in this package.
Names()
- Constructor for class net.sourceforge.worldsaver.names.
Names
The constructor initializes a properties object with some standard values.
net.sourceforge.worldsaver.names
- package net.sourceforge.worldsaver.names
net.sourceforge.worldsaver.rp
- package net.sourceforge.worldsaver.rp
net.sourceforge.worldsaver.util
- package net.sourceforge.worldsaver.util
NEWLINE
- Static variable in interface net.sourceforge.worldsaver.util.
MiscUtils
The system's line separator.
P
parseCMDLine(String[], Properties)
- Static method in class net.sourceforge.worldsaver.util.
MiscMethods
Parses cmdline options.
Person
- class net.sourceforge.worldsaver.rp.
Person
.
The abstract superclass of all persons.
Person(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Person
The standard constructor.
Person(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Person
The standard constructor.
printProgressBar(int)
- Static method in class net.sourceforge.worldsaver.util.
MiscMethods
Prints outa progress bar on stdout.
printUsage(Localizer)
- Static method in class net.sourceforge.worldsaver.names.
Names
Just prints out cmdline-usage and exits.
prooveConfig()
- Method in class net.sourceforge.worldsaver.names.
Names
You must run this method to make sure that the instance can be used to create names.
R
RANDOM
- Static variable in interface net.sourceforge.worldsaver.util.
MiscUtils
A Random-instance.
RandomEncounter
- class net.sourceforge.worldsaver.rp.
RandomEncounter
.
A Random Encounter can be understood as a table of things that can happen during the night/on the street or whatever.
RandomEncounter(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
RandomEncounter
Standard constructor.
RandomEncounter(RpBase, String, int)
- Constructor for class net.sourceforge.worldsaver.rp.
RandomEncounter
Standard constructor.
readConfigfile()
- Method in class net.sourceforge.worldsaver.names.
Names
This method reads configvalues from file and overrides the old ones.
readFilterfile()
- Method in class net.sourceforge.worldsaver.names.
Names
This methods appends a filterfile to the actual values.
readInputfile()
- Method in class net.sourceforge.worldsaver.names.
Names
This method loads a textfile into memory and splits it into words.
remove(long)
- Method in class net.sourceforge.worldsaver.util.
IDGenerator
Releases a value.
RpBase
- class net.sourceforge.worldsaver.rp.
RpBase
.
Almost everything in this package extends this superclass.
RpBase(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
RpBase
Reconstructs the object by a loaded String.
RpBase(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
RpBase
Constructs a new object with a given name and a given father.
run()
- Method in class net.sourceforge.worldsaver.rp.
Loader
This method does the large part of the work.
run()
- Method in class net.sourceforge.worldsaver.rp.
Saver
You almost certainly don't want to run this directly, see introduction for details.
S
Saveable
- interface net.sourceforge.worldsaver.rp.
Saveable
.
This interface defines some methods that are required for classes that want to be saved.
saveConfigfile()
- Method in class net.sourceforge.worldsaver.names.
Names
Saves configfile to disk.
saveFilterfile()
- Method in class net.sourceforge.worldsaver.names.
Names
Saves the filterfile.
saveOptions()
- Method in class net.sourceforge.worldsaver.names.
Names
Simply saves current options to file.
Saver
- class net.sourceforge.worldsaver.rp.
Saver
.
This class provides some useful methods to save a whole world into a file/a stream.
Saver(Writer, World)
- Constructor for class net.sourceforge.worldsaver.rp.
Saver
Note that this class implements the Runnable Interface, see the introduction for details.
setAction(int, RpBase)
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
setConfigfile(String)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the name of the configfile
setDecisionMessage(String)
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Sets the decision message.
setDescription(String)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Sets the description of the object.
setFather(RpBase)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Uses the given value as new father.
setFilterfile(String)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the name of the filterfile
setInputfile(String)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the name of the inputfile
setLang(Locale, String)
- Method in class net.sourceforge.worldsaver.util.
Localizer
Sets the new language for this Localizer.
setLengthOfMagic(int[])
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the length and (partially) the number of names that are generated by createFiltervalues().
setLengthOfMagic(String)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the length and (partially) the number of names that are generated by createFiltervalues().
setLengthOfNames(int)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the length of names to be generated
setMap(RpBase, int, int)
- Method in class net.sourceforge.worldsaver.rp.
Area
Fills the specified piece of the map with life.
setMapX(int)
- Method in class net.sourceforge.worldsaver.rp.
Area
Resizes the x-axis of the map.
setMapY(int)
- Method in class net.sourceforge.worldsaver.rp.
Area
Resizes the y-axis of the map.
setMaxValue(int)
- Method in class net.sourceforge.worldsaver.util.
JIntField
Sets the maximum value.
setMinValue(int)
- Method in class net.sourceforge.worldsaver.util.
JIntField
Sets the minimum value.
setName(String)
- Method in class net.sourceforge.worldsaver.rp.
RpBase
Changes the name of this object.
setNumber(int)
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
setNumberOfNames(int)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the number of names to generate at once
setNumberToGenerate(int)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the amount of names that are generated for each setLengthOfMagic item when calling createFiltervalues()
setOptionsfile(String)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets the name of the optionsfile
setRandomEncounter(RpBase)
- Method in class net.sourceforge.worldsaver.rp.
City
setReady(boolean)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets that a thread runs now in this instance.
setStartLocation(Area)
- Method in class net.sourceforge.worldsaver.rp.
Action
Sets the new location where the action starts. loc may be null if the location doesn't matter.
setText(String)
- Method in class net.sourceforge.worldsaver.rp.
ActionParticle
Sets the text explaining the situation.
setValue(int)
- Method in class net.sourceforge.worldsaver.util.
JIntField
Sets the actual value.
setVerbose(boolean)
- Method in class net.sourceforge.worldsaver.names.
Names
Sets whether there should be output on stdout or not.
setVisualization(BufferedImage)
- Method in class net.sourceforge.worldsaver.rp.
Area
Sets the graphical visualization of the area.
step(int)
- Method in class net.sourceforge.worldsaver.rp.
Action
Causes the action to do a step in a specific direction.
step(int)
- Method in class net.sourceforge.worldsaver.rp.
Campaign
step(int)
- Method in class net.sourceforge.worldsaver.rp.
Adventure
Makes a step in the adventure.
step(int)
- Method in class net.sourceforge.worldsaver.rp.
RandomEncounter
Stuff
- class net.sourceforge.worldsaver.rp.
Stuff
.
Represents all items which have no own class.
Stuff(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Stuff
Standard constructor.
Stuff(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Stuff
Standard constructor.
V
VERSION
- Static variable in class net.sourceforge.worldsaver.rp.
World
VERSION
- Static variable in class net.sourceforge.worldsaver.names.
Names
Version information.
VERSION
- Static variable in class net.sourceforge.worldsaver.names.
Namer
Version information
versionRequired()
- Method in class net.sourceforge.worldsaver.rp.
Loader
Returns the version string that the file specified, or '0' if none specified.
W
Weapon
- class net.sourceforge.worldsaver.rp.
Weapon
.
This class represents a weapon.
Weapon(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
Weapon
Standard constructor.
Weapon(RpBase, String)
- Constructor for class net.sourceforge.worldsaver.rp.
Weapon
Standard constructor.
World
- class net.sourceforge.worldsaver.rp.
World
.
Represents - believe it or not - a saveable world.
World(HashMap)
- Constructor for class net.sourceforge.worldsaver.rp.
World
Standard constructor.
World(RpBase, String, int, int)
- Constructor for class net.sourceforge.worldsaver.rp.
World
Standard constructor.
WrongConfigvaluesException
- exception net.sourceforge.worldsaver.names.
WrongConfigvaluesException
.
This is the Exception thrown by the Names when any option is not cool.
WrongConfigvaluesException(String)
- Constructor for class net.sourceforge.worldsaver.names.
WrongConfigvaluesException
Just give it the message...
A
B
C
E
F
G
H
I
J
L
M
N
P
R
S
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES