|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Car | |
|---|---|
| net.kolls.railworld | Provides for basic status and operation of quantities needed for both play and editing. |
| net.kolls.railworld.car | Various types of cars which are supported by Rail World. |
| net.kolls.railworld.play | Classes used for playing Rail World. |
| net.kolls.railworld.segment | Rail segments available. |
| net.kolls.railworld.tc | Train controllers provide means to control a train's throttle, brake, horn, as well as performing loads and unloads, and other train functions. |
| net.kolls.railworld.tuic | Managing trains with respect to the segments they appear on. |
| Uses of Car in net.kolls.railworld |
|---|
| Fields in net.kolls.railworld declared as Car | |
|---|---|
protected Car |
TrainControl.selected
The selected car in the train, or null. |
| Fields in net.kolls.railworld with type parameters of type Car | |
|---|---|
static ExtensibleFactory<Car> |
Factories.cars
An extensible factory for all car types. |
| Methods in net.kolls.railworld that return Car | |
|---|---|
Car[] |
Train.array()
|
Car |
TrainControl.getSelected()
|
| Methods in net.kolls.railworld with parameters of type Car | |
|---|---|
abstract void |
TrainUIController.car(Car c,
CLoc begin,
CLoc end)
For each Car, including a beginning and ending position. |
DLoc |
CLoc.segFwd(Distance len,
Car myC,
Train myT)
Moves forward in the direction of travel a given distance, and generate rendering information for a given Train and/or Car. |
abstract void |
TrainUIController.segment(Car c,
java.awt.geom.Line2D l)
For each visible segment (there may be multiple segments per car, or even 0 if the car is hidden). |
void |
TrainControl.setSelected(Car c)
The user selected a car. |
| Constructors in net.kolls.railworld with parameters of type Car | |
|---|---|
Train(Car[] cars)
Create a train from a given array of cars. |
|
| Uses of Car in net.kolls.railworld.car |
|---|
| Classes in net.kolls.railworld.car that implement Car | |
|---|---|
class |
AbstractCar
AbstractCar contains some reasonable defaults to avoid repetition in creating standard cargo car types. |
class |
Autorack
Autorack car based on TTGX 990770 |
class |
Boxcar
Boxcar based on COP 7274 |
class |
Caboose
Red caboose based on C&P 90751 |
class |
CachedCar
A cached car is useful for cars created by scripts. |
class |
Coveredhopper
Covered hopper based on CSXT 225021 |
class |
Engine
Locomotive based on GE Dash 7 |
class |
Flatcar
Non-intermodal flat/centerbeam car. |
class |
Intermodal
Intermodal car based on Maxi I |
class |
Openhopper
Open hopper based on CSX coal hopper |
class |
Passenger
Passenger car based on Amtrak Superliner |
class |
Stockcar
Livestock car based on SP 780000 |
class |
Tankcar
Tank car (chemical car). |
| Constructors in net.kolls.railworld.car with parameters of type Car | |
|---|---|
CachedCar(Car c)
Create a cached car. |
|
| Uses of Car in net.kolls.railworld.play |
|---|
| Fields in net.kolls.railworld.play with type parameters of type Car | |
|---|---|
java.util.ArrayList<Car> |
MultiLineTrainPanel.myVC
Cars, in order, that compose the train. |
| Methods in net.kolls.railworld.play that return Car | |
|---|---|
Car |
Trains.getSelectedCar()
|
| Methods in net.kolls.railworld.play with parameters of type Car | |
|---|---|
void |
Trains.select(Train t,
Car c)
Select a particular train, and optionally, a particular car. |
| Uses of Car in net.kolls.railworld.segment |
|---|
| Methods in net.kolls.railworld.segment that return Car | |
|---|---|
Car[] |
LUSegment.lu()
|
| Methods in net.kolls.railworld.segment with parameters of type Car | |
|---|---|
boolean |
LUSegment.canLU(Car c)
|
| Constructors in net.kolls.railworld.segment with parameters of type Car | |
|---|---|
HiddenLUSegment(RailSegment bg,
RailSegment en,
java.awt.geom.Line2D crds,
Car[] accept,
boolean drawAccept)
|
|
LUSegment(RailSegment bg,
RailSegment en,
java.awt.geom.Line2D crds,
Car[] accept,
boolean drawAccept)
Create a load/unload segment. |
|
| Uses of Car in net.kolls.railworld.tc |
|---|
| Methods in net.kolls.railworld.tc with parameters of type Car | |
|---|---|
void |
MixControl.setSelected(Car c)
|
| Uses of Car in net.kolls.railworld.tuic |
|---|
| Fields in net.kolls.railworld.tuic declared as Car | |
|---|---|
Car |
TrainClickTest.cc
If the position falls within a train, this will be set to the Car it hits. |
| Methods in net.kolls.railworld.tuic with parameters of type Car | |
|---|---|
void |
TrainPainter.car(Car c,
CLoc begin,
CLoc end)
|
void |
TrainMiniPainter.car(Car c,
CLoc b,
CLoc pos)
|
void |
TrainEndPointFinder.car(Car c,
CLoc b,
CLoc pos)
|
void |
TrainDirectionFinder.car(Car c,
CLoc begin,
CLoc end)
|
void |
TrainClickTest.car(Car c,
CLoc b,
CLoc e)
|
static java.awt.image.BufferedImage |
TrainPainter.image(Car c,
java.awt.Component mp)
Generates an image representing the Car. |
void |
TrainPainter.segment(Car c,
java.awt.geom.Line2D l)
|
void |
TrainMiniPainter.segment(Car c,
java.awt.geom.Line2D l)
|
void |
TrainEndPointFinder.segment(Car c,
java.awt.geom.Line2D l)
|
void |
TrainDirectionFinder.segment(Car c,
java.awt.geom.Line2D l)
|
void |
TrainClickTest.segment(Car c,
java.awt.geom.Line2D l)
|
| Constructors in net.kolls.railworld.tuic with parameters of type Car | |
|---|---|
TrainPainter(RailCanvas rc,
java.awt.Graphics2D mg,
boolean f,
Car sel)
Create a new TrainPainter. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||