Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
_
R
r
- Variable in class net.kolls.railworld.
CLoc
The current
RailSegment
.
RAIL_BED_WIDTH
- Static variable in class net.kolls.railworld.
RailSegment
The width of the rail bed (gravel)
RAIL_WIDTH
- Static variable in class net.kolls.railworld.
RailSegment
The width of the rail line itself.
RailAccident
- Exception in
net.kolls.railworld.play
Describes an accident and the train(s) involed.
RailAccident(Train, Train, Point2D)
- Constructor for exception net.kolls.railworld.play.
RailAccident
Create a rail accident.
RailAccidentFrame
- Class in
net.kolls.railworld.play
Creates a window to display an accident report.
RailAccidentFrame(RailCanvas, RailAccident, String)
- Constructor for class net.kolls.railworld.play.
RailAccidentFrame
Display an accident.
railBedStroke
- Variable in class net.kolls.railworld.segment.
Curve
The rail bed pen
railBedStroke
- Variable in class net.kolls.railworld.segment.
TrackSegment
The rail bed pen
RailCanvas
- Class in
net.kolls.railworld
The RailCanvas is one of the workhorses of the Rail World game.
RailCanvas(BufferedImage, RailSegment[], MiniViewer)
- Constructor for class net.kolls.railworld.
RailCanvas
Construct a new rail canvas
RailFrame
- Class in
net.kolls.railworld
The main window which contains a canvas, a mini viewer, and the right hand control area.
RailFrame(RailSegment[], BufferedImage, String)
- Constructor for class net.kolls.railworld.
RailFrame
Create a rail frame.
RailSegment
- Class in
net.kolls.railworld
The interface which must be implemented for something to be considered a rail segment.
RailSegment()
- Constructor for class net.kolls.railworld.
RailSegment
railStroke
- Variable in class net.kolls.railworld.segment.
Curve
The rail line pen
railStroke
- Variable in class net.kolls.railworld.segment.
TrackSegment
The rail line pen
rc
- Variable in class net.kolls.railworld.
MiniViewer
The RailCanvas to submit movement requests to.
reacting(Train)
- Method in class net.kolls.railworld.segment.sp.
Green
reacting(Train)
- Method in class net.kolls.railworld.segment.sp.
Red
reacting(Train)
- Method in class net.kolls.railworld.segment.sp.
Yellow
reacting(Train)
- Method in interface net.kolls.railworld.
SignalProgram
Indication that a train's controller is monitoring, responding to or waiting on the signal.
read(File, PlayFrame, List<Script>)
- Static method in class net.kolls.railworld.io.
RWGReader
Reads a Rail World Game (RWG) file and populates/updates a given rail canvas and train list.
read(URL, MetaData)
- Static method in class net.kolls.railworld.io.
RWMReader
Reads from an RWM file and returns the rail segments.
read(File, MetaData)
- Static method in class net.kolls.railworld.io.
RWMReader
Reads from an RWM file and returns the rail segments and updates the given metadata.
read(File)
- Static method in class net.kolls.railworld.io.
TRNReader
Read a train from a Yard Duty train file
read(File, MetaData)
- Static method in class net.kolls.railworld.io.
YardReader
Reads a valid Yard Duty file.
readForRWM(File)
- Static method in class net.kolls.railworld.io.
RWGReader
Reads a Rail World Game (RWG) file just to find out the map name associated with it.
RearEnd
- Exception in
net.kolls.railworld.play.ra
One train smashes into the end of another train.
RearEnd(Train, Train, Point2D)
- Constructor for exception net.kolls.railworld.play.ra.
RearEnd
Simply calls super constructor.
recomp()
- Method in class net.kolls.railworld.edit.
EditCanvas
recomp()
- Method in class net.kolls.railworld.
RailCanvas
Recompute all segment details
recomp()
- Method in class net.kolls.railworld.
RailSegment
Called when changes are made; recompute or update any associated values.
recomp()
- Method in class net.kolls.railworld.segment.
Curve
recomp()
- Method in class net.kolls.railworld.segment.
EESegment
recomp()
- Method in class net.kolls.railworld.segment.
FourWay
recomp()
- Method in class net.kolls.railworld.segment.
HiddenLUSegment
recomp()
- Method in class net.kolls.railworld.segment.
HiddenSegment
recomp()
- Method in class net.kolls.railworld.segment.
Label
recomp()
- Method in class net.kolls.railworld.segment.
LUSegment
recomp()
- Method in class net.kolls.railworld.segment.
Signal
recomp()
- Method in class net.kolls.railworld.segment.
Switch
recomp()
- Method in class net.kolls.railworld.segment.
TrackSegment
Red
- Class in
net.kolls.railworld.segment.sp
A red (stop) signal.
Red()
- Constructor for class net.kolls.railworld.segment.sp.
Red
redo
- Static variable in class net.kolls.railworld.
Images
refreshList()
- Method in class net.kolls.railworld.play.
Trains
Inform the list listeners that the entire list may have changed.
remove(int)
- Method in class net.kolls.railworld.play.
Trains
Remove a train
remove(Train)
- Method in class net.kolls.railworld.play.
Trains
Remove a given train from the map.
removeDrawListener(DrawListener)
- Method in class net.kolls.railworld.play.script.
ScriptManager
Remove a draw listener.
removeListDataListener(ListDataListener)
- Method in class net.kolls.railworld.play.
Trains
removeTrain(Train)
- Method in class net.kolls.railworld.play.
PlayFrame
Remove a train.
removeTrainActionListener(TrainActionListener, Train, String)
- Method in class net.kolls.railworld.play.script.
ScriptManager
Remove a train action listener.
reset()
- Method in class net.kolls.railworld.tuic.
TrainDirectionFinder
Prepare for a new train.
ResourceLoader
- Class in
net.kolls.railworld.opening
Loads basic resources, such as images, sounds, and icons.
ResourceLoader(Applet)
- Constructor for class net.kolls.railworld.opening.
ResourceLoader
Create a resource loader.
reverse()
- Method in class net.kolls.railworld.
CLoc
Returns the same position with opposite directionality.
reverse(Train)
- Method in class net.kolls.railworld.play.
Trains
Reverse the direction of a given train.
reverse
- Variable in class net.kolls.railworld.
Train
Does this train request to be reversed? Controller must ensure train is stopped first.
rightPanel
- Variable in class net.kolls.railworld.
RailFrame
The right panel
run()
- Method in class net.kolls.railworld.
GameLoop
Behavior to perform after painting occurs.
run()
- Method in class net.kolls.railworld.opening.
Applet
run()
- Method in class net.kolls.railworld.opening.
ResourceLoader
Begins the resource loading.
run()
- Method in class net.kolls.railworld.tc.
MixControl
run()
- Method in class net.kolls.railworld.tc.
UserControl
run()
- Method in class net.kolls.railworld.
TrainControl
This method should be overriden, but ensure that super is called to update the weight, speed, and length display.
runInLoop(Runnable)
- Method in class net.kolls.railworld.
GameLoop
Run some commands inside the game loop.
RWGFilter
- Class in
net.kolls.railworld.io
Returns files matching the RWG extension
RWGFilter()
- Constructor for class net.kolls.railworld.io.
RWGFilter
RWGReader
- Class in
net.kolls.railworld.io
Reads Rail World Games (RWG) files and updates segments, visual appearance, and trains
RWGReader()
- Constructor for class net.kolls.railworld.io.
RWGReader
RWGWriter
- Class in
net.kolls.railworld.io
Saves an in-progress game (position, zoom, selected train, and all trains).
RWGWriter()
- Constructor for class net.kolls.railworld.io.
RWGWriter
RWMMapFilter
- Class in
net.kolls.railworld.io
Returns files matching the RWM extension.
RWMMapFilter()
- Constructor for class net.kolls.railworld.io.
RWMMapFilter
RWMReader
- Class in
net.kolls.railworld.io
Reads RWM (Rail World map) files in the XML format.
RWMReader()
- Constructor for class net.kolls.railworld.io.
RWMReader
RWMWriter
- Class in
net.kolls.railworld.io
Writes a Rail World map as an XML file in the RWM format.
RWMWriter()
- Constructor for class net.kolls.railworld.io.
RWMWriter
RWSFilter
- Class in
net.kolls.railworld.io
Returns files matching the RWS extension.
RWSFilter()
- Constructor for class net.kolls.railworld.io.
RWSFilter
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
_