|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FreerailsPrincipal | |
|---|---|
| experimental | Provides a space to put classes that try out concepts and ideas but are not part of the game - classes in other jfreerails packages should not import classes from this package. |
| jfreerails.client.common | Provides classes that are used by the jfreerails client but are not jfreerails
specific, that is, ones that could be used in another project: classes in this
package should not import any classes from other jfreerails.*
packages except jfreerails.util. |
| jfreerails.client.renderer | Provides classes that render/paint/draw the games graphics. |
| jfreerails.client.top | Provides classes that make up the client user interface (implemented using Swing). |
| jfreerails.client.view | Provides classes that make up the jfreerails client user interface that is implemented using Swing components. |
| jfreerails.controller | Provides classes that may be used by the client or the server to operate on the game world, for example, building trains and stations. |
| jfreerails.move | Provides classes that encapsulate changes to the game world. |
| jfreerails.network | Provides classes for sending moves and commands between the client and server. |
| jfreerails.server | Provides classes that will be used by the server but not the client. |
| jfreerails.world.player | |
| jfreerails.world.top | Provides a space to put classes that depend on classes from several other jfreerails.world
packages. |
| Uses of FreerailsPrincipal in experimental |
|---|
| Fields in experimental declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
TrainMotionExpt.principal
|
private static FreerailsPrincipal |
DialogueBoxTester.TEST_PRINCIPAL
|
| Uses of FreerailsPrincipal in jfreerails.client.common |
|---|
| Fields in jfreerails.client.common declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
ModelRootImpl.playerPrincipal
|
| Methods in jfreerails.client.common that return FreerailsPrincipal | |
|---|---|
FreerailsPrincipal |
ModelRootImpl.getPrincipal()
|
| Methods in jfreerails.client.common with parameters of type FreerailsPrincipal | |
|---|---|
void |
ModelRootImpl.setup(ReadOnlyWorld world,
FreerailsPrincipal p)
Updates the ModelRoot with those properties which are dependent upon the world model. |
| Uses of FreerailsPrincipal in jfreerails.client.renderer |
|---|
| Fields in jfreerails.client.renderer declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
BuildTrackController.principal
|
| Uses of FreerailsPrincipal in jfreerails.client.top |
|---|
| Methods in jfreerails.client.top with parameters of type FreerailsPrincipal | |
|---|---|
void |
GUIComponentFactoryImpl.itemAdded(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
GUIComponentFactoryImpl.itemRemoved(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
GUIComponentFactoryImpl.listUpdated(KEY key,
int index,
FreerailsPrincipal principal)
|
| Uses of FreerailsPrincipal in jfreerails.client.view |
|---|
| Fields in jfreerails.client.view declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
CargoWaitingAndDemandedJPanel.principal
|
private FreerailsPrincipal |
CashJLabel.principal
|
(package private) FreerailsPrincipal |
IncomeStatementGenerator.principal
|
private FreerailsPrincipal |
NearestStationFinder.principal
|
private FreerailsPrincipal |
SelectStationJPanel.principal
|
private FreerailsPrincipal |
TrainDescriptionJPanel.principal
|
private FreerailsPrincipal |
TrainDialogueJPanel.principal
|
private FreerailsPrincipal |
TrainListCellRenderer.principal
|
private FreerailsPrincipal |
TrainListJPanel.principal
|
private FreerailsPrincipal |
TrainOrderJPanel.principal
|
private FreerailsPrincipal |
TrainOrdersListModel.principal
|
private FreerailsPrincipal |
TrainSummaryJPanel.principal
|
| Methods in jfreerails.client.view with parameters of type FreerailsPrincipal | |
|---|---|
void |
DialogueBoxController.itemAdded(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
StationInfoJPanel.itemAdded(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
TrainDialogueJPanel.itemAdded(KEY key,
int index,
FreerailsPrincipal p)
|
void |
TrainListCellRenderer.itemAdded(KEY key,
int index,
FreerailsPrincipal p)
|
void |
TrainScheduleJPanel.itemAdded(KEY key,
int index,
FreerailsPrincipal p)
|
void |
DialogueBoxController.itemRemoved(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
StationInfoJPanel.itemRemoved(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
TrainDialogueJPanel.itemRemoved(KEY key,
int index,
FreerailsPrincipal p)
|
void |
TrainListCellRenderer.itemRemoved(KEY key,
int index,
FreerailsPrincipal p)
|
void |
TrainScheduleJPanel.itemRemoved(KEY key,
int index,
FreerailsPrincipal p)
|
void |
DialogueBoxController.listUpdated(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
StationInfoJPanel.listUpdated(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
TrainDialogueJPanel.listUpdated(KEY key,
int index,
FreerailsPrincipal p)
|
void |
TrainListCellRenderer.listUpdated(KEY key,
int index,
FreerailsPrincipal p)
|
void |
TrainScheduleJPanel.listUpdated(KEY key,
int index,
FreerailsPrincipal p)
|
| Constructors in jfreerails.client.view with parameters of type FreerailsPrincipal | |
|---|---|
BrokerScreenGenerator(ReadOnlyWorld w,
FreerailsPrincipal principal)
Creates a new instance of BrokerScreenGenerator |
|
IncomeStatementGenerator(ReadOnlyWorld w,
FreerailsPrincipal principal)
|
|
NearestStationFinder(ReadOnlyWorld w,
FreerailsPrincipal player)
|
|
TrainOrdersListModel(ReadOnlyWorld w,
int trainNumber,
FreerailsPrincipal p)
|
|
World2ListModelAdapter(ReadOnlyWorld world,
KEY key,
FreerailsPrincipal p)
|
|
| Uses of FreerailsPrincipal in jfreerails.controller |
|---|
| Fields in jfreerails.controller declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
SimpleMoveExecutor.p
|
private FreerailsPrincipal |
TrainAccessor.p
|
private FreerailsPrincipal |
AddStationPreMove.principal
|
private FreerailsPrincipal |
AddTrainPreMove.principal
|
(package private) FreerailsPrincipal |
BalanceSheetGenerator.principal
|
private FreerailsPrincipal |
DropOffAndPickupCargoMoveGenerator.principal
|
private FreerailsPrincipal |
MoveTrainPreMove.principal
|
private FreerailsPrincipal |
TrackPathFinder.principal
|
private FreerailsPrincipal |
TrainStopsHandler.principal
|
private FreerailsPrincipal |
BuildTrackExplorer.principle
|
| Methods in jfreerails.controller that return FreerailsPrincipal | |
|---|---|
FreerailsPrincipal |
MoveExecutor.getPrincipal()
|
FreerailsPrincipal |
SimpleMoveExecutor.getPrincipal()
|
| Methods in jfreerails.controller with parameters of type FreerailsPrincipal | |
|---|---|
static Money |
BalanceSheetGenerator.calTrackTotal(Transaction.Category category,
ReadOnlyWorld w,
FreerailsPrincipal principal,
GameTime startTime)
|
static AddStationPreMove |
AddStationPreMove.newStation(ImPoint p,
int trackRule,
FreerailsPrincipal principal)
|
static java.util.ArrayList<Move> |
ProcessCargoAtStationMoveGenerator.processCargo(ReadOnlyWorld w,
CargoBundle bundle,
int stationID,
FreerailsPrincipal p,
int trainId)
|
static AddStationPreMove |
AddStationPreMove.upgradeStation(ImPoint p,
int trackRule,
FreerailsPrincipal principal)
|
| Uses of FreerailsPrincipal in jfreerails.move |
|---|
| Fields in jfreerails.move declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
ChangeTrackPieceCompositeMove.builder
|
private FreerailsPrincipal |
AddActiveEntityMove.principal
|
private FreerailsPrincipal |
AddItemToListMove.principal
|
private FreerailsPrincipal |
AddTransactionMove.principal
|
private FreerailsPrincipal |
ChangeItemInListMove.principal
|
private FreerailsPrincipal |
ChangeProductionAtEngineShopMove.principal
|
private FreerailsPrincipal |
NextActivityMove.principal
|
private FreerailsPrincipal |
RemoveItemFromListMove.principal
|
private FreerailsPrincipal |
TrackMoveTransactionsGenerator.principal
|
| Methods in jfreerails.move that return FreerailsPrincipal | |
|---|---|
(package private) FreerailsPrincipal |
AbstractMoveTestCase.getPrincipal()
|
FreerailsPrincipal |
AddItemToListMove.getPrincipal()
|
FreerailsPrincipal |
AddTransactionMove.getPrincipal()
|
FreerailsPrincipal |
ChangeItemInListMove.getPrincipal()
|
FreerailsPrincipal |
ListMove.getPrincipal()
|
FreerailsPrincipal |
RemoveItemFromListMove.getPrincipal()
|
FreerailsPrincipal |
TransferCargoAtStationMove.getPrincipal()
The player who is getting paid for the delivery. |
| Uses of FreerailsPrincipal in jfreerails.network |
|---|
| Methods in jfreerails.network with parameters of type FreerailsPrincipal | |
|---|---|
void |
SimpleServerGameModel.itemAdded(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
SimpleServerGameModel.itemRemoved(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
SimpleServerGameModel.listUpdated(KEY key,
int index,
FreerailsPrincipal principal)
|
private void |
MoveChainFork.sendItemAdded(KEY key,
int index,
FreerailsPrincipal p)
|
private void |
MoveChainFork.sendItemRemoved(KEY key,
int index,
FreerailsPrincipal p)
|
private void |
MoveChainFork.sendListUpdated(KEY key,
int index,
FreerailsPrincipal p)
|
| Uses of FreerailsPrincipal in jfreerails.server |
|---|
| Fields in jfreerails.server declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
TrainPathFinder.principal
|
| Methods in jfreerails.server with parameters of type FreerailsPrincipal | |
|---|---|
void |
TrainUpdater.buildTrain(int engineTypeId,
ImInts wagons,
ImPoint p,
FreerailsPrincipal principal,
ReadOnlyWorld world)
|
private ImmutableSchedule |
TrainUpdater.generateInitialSchedule(FreerailsPrincipal principal,
ReadOnlyWorld world,
boolean autoSchedule)
|
private static AddTransactionMove |
InterestChargeMoveGenerator.generateMove(World w,
FreerailsPrincipal principal)
|
private static AddTransactionMove |
TrainMaintenanceMoveGenerator.generateMove(World w,
FreerailsPrincipal principal)
|
static AddTransactionMove |
TrackMaintenanceMoveGenerator.generateMove(World w,
FreerailsPrincipal principal,
Transaction.Category category)
|
static Move |
TrainUpdater.initTarget(TrainModel train,
int trainID,
ImmutableSchedule currentSchedule,
FreerailsPrincipal principal)
|
| Constructors in jfreerails.server with parameters of type FreerailsPrincipal | |
|---|---|
TrainPathFinder(FlatTrackExplorer tx,
ReadOnlyWorld w,
int trainNumber,
MoveReceiver newMr,
FreerailsPrincipal p)
|
|
| Uses of FreerailsPrincipal in jfreerails.world.player |
|---|
| Subclasses of FreerailsPrincipal in jfreerails.world.player | |
|---|---|
private static class |
Player.WorldPrincipal
A FreerailsPrincipal that is not a player. |
class |
PlayerPrincipal
FreerailsPrincipal that is a player in the game. |
| Fields in jfreerails.world.player declared as FreerailsPrincipal | |
|---|---|
static FreerailsPrincipal |
Player.AUTHORITATIVE
This Principal can be granted all permissions. |
static FreerailsPrincipal |
Player.NOBODY
This Principal has no permissions. |
private FreerailsPrincipal |
Player.principal
|
| Methods in jfreerails.world.player that return FreerailsPrincipal | |
|---|---|
FreerailsPrincipal |
Player.getPrincipal()
|
| Uses of FreerailsPrincipal in jfreerails.world.top |
|---|
| Fields in jfreerails.world.top declared as FreerailsPrincipal | |
|---|---|
private FreerailsPrincipal |
NonNullElements.principal
|
protected FreerailsPrincipal |
TransactionAggregator.principal
|
static FreerailsPrincipal |
MapFixtureFactory.TEST_PRINCIPAL
|
| Methods in jfreerails.world.top with parameters of type FreerailsPrincipal | |
|---|---|
void |
World.add(FreerailsPrincipal principal,
int index,
Activity element)
|
void |
WorldImpl.add(FreerailsPrincipal p,
int index,
Activity element)
|
int |
World.add(FreerailsPrincipal principal,
KEY key,
FreerailsSerializable element)
Appends the specified element to the end of the specifed list and returns the index that can be used to retrieve it. |
int |
WorldImpl.add(FreerailsPrincipal p,
KEY key,
FreerailsSerializable element)
|
int |
World.addActiveEntity(FreerailsPrincipal principal,
Activity element)
|
int |
WorldImpl.addActiveEntity(FreerailsPrincipal p,
Activity element)
|
void |
World.addTransaction(FreerailsPrincipal p,
Transaction t)
Adds the specified transaction to the specified principal's bank account. |
void |
WorldImpl.addTransaction(FreerailsPrincipal p,
Transaction t)
|
boolean |
ReadOnlyWorld.boundsContain(FreerailsPrincipal p,
KEY k,
int index)
|
boolean |
WorldImpl.boundsContain(FreerailsPrincipal p,
KEY k,
int index)
|
FreerailsSerializable |
ReadOnlyWorld.get(FreerailsPrincipal p,
KEY key,
int index)
Returns the element at the specified position in the specified list. |
FreerailsSerializable |
WorldImpl.get(FreerailsPrincipal p,
KEY key,
int index)
|
ActivityIterator |
ReadOnlyWorld.getActivities(FreerailsPrincipal p,
int index)
|
ActivityIterator |
WorldImpl.getActivities(FreerailsPrincipal p,
int index)
|
Money |
ReadOnlyWorld.getCurrentBalance(FreerailsPrincipal p)
|
Money |
WorldImpl.getCurrentBalance(FreerailsPrincipal p)
|
int |
ReadOnlyWorld.getID(FreerailsPrincipal p)
|
int |
WorldImpl.getID(FreerailsPrincipal p)
|
int |
ReadOnlyWorld.getNumberOfActiveEntities(FreerailsPrincipal p)
|
int |
WorldImpl.getNumberOfActiveEntities(FreerailsPrincipal p)
|
int |
ReadOnlyWorld.getNumberOfTransactions(FreerailsPrincipal p)
|
int |
WorldImpl.getNumberOfTransactions(FreerailsPrincipal p)
|
private int |
WorldImpl.getPlayerIndex(FreerailsPrincipal p)
|
Transaction |
ReadOnlyWorld.getTransaction(FreerailsPrincipal p,
int i)
|
Transaction |
WorldImpl.getTransaction(FreerailsPrincipal p,
int i)
|
GameTime |
ReadOnlyWorld.getTransactionTimeStamp(FreerailsPrincipal p,
int i)
|
GameTime |
WorldImpl.getTransactionTimeStamp(FreerailsPrincipal p,
int i)
|
boolean |
ReadOnlyWorld.isPlayer(FreerailsPrincipal p)
|
boolean |
WorldImpl.isPlayer(FreerailsPrincipal p)
|
void |
WorldListListener.itemAdded(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
WorldListListener.itemRemoved(KEY key,
int index,
FreerailsPrincipal principal)
|
void |
WorldListListener.listUpdated(KEY key,
int index,
FreerailsPrincipal principal)
|
FreerailsSerializable |
World.removeLast(FreerailsPrincipal principal,
KEY key)
Removes the last element from the specified list. |
FreerailsSerializable |
WorldImpl.removeLast(FreerailsPrincipal p,
KEY key)
|
Activity |
World.removeLastActiveEntity(FreerailsPrincipal principal)
|
Activity |
WorldImpl.removeLastActiveEntity(FreerailsPrincipal p)
|
Activity |
World.removeLastActivity(FreerailsPrincipal principal,
int index)
|
Activity |
WorldImpl.removeLastActivity(FreerailsPrincipal p,
int index)
|
Transaction |
World.removeLastTransaction(FreerailsPrincipal p)
Removes and returns the last transaction added the the specified principal's bank account. |
Transaction |
WorldImpl.removeLastTransaction(FreerailsPrincipal p)
|
static int |
NonNullElements.row2index(ReadOnlyWorld w,
KEY key,
FreerailsPrincipal p,
int row)
|
void |
World.set(FreerailsPrincipal principal,
KEY key,
int index,
FreerailsSerializable element)
Replaces the element at the specified position in the specified list with the specified element. |
void |
WorldImpl.set(FreerailsPrincipal p,
KEY key,
int index,
FreerailsSerializable element)
|
int |
ReadOnlyWorld.size(FreerailsPrincipal p)
Returns number of active entities belonging to the specified principal. |
int |
WorldImpl.size(FreerailsPrincipal p)
|
int |
ReadOnlyWorld.size(FreerailsPrincipal p,
KEY key)
Returns the number of elements in the specified list. |
int |
WorldImpl.size(FreerailsPrincipal p,
KEY key)
|
| Constructors in jfreerails.world.top with parameters of type FreerailsPrincipal | |
|---|---|
ItemsTransactionAggregator(ReadOnlyWorld w,
FreerailsPrincipal principal)
|
|
NonNullElements(KEY k,
ReadOnlyWorld world,
FreerailsPrincipal p)
|
|
TransactionAggregator(ReadOnlyWorld w,
FreerailsPrincipal principal)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||