Class FerryDriver
Inheritance
AbstractAgent
FerryDriver
Assembly: SOHFerryModel.dll
Syntax
public class FerryDriver : AbstractAgent, IFerrySteeringCapable, ISteeringCapable, IPassengerCapable, IPositionable
Constructors
FerryDriver(FerryLayer, UnregisterAgent)
Declaration
public FerryDriver(FerryLayer layer, UnregisterAgent unregister)
Parameters
Type |
Name |
Description |
FerryLayer |
layer |
|
UnregisterAgent |
unregister |
|
FerryDriver(FerryLayer, UnregisterAgent, String)
Declaration
public FerryDriver(FerryLayer layer, UnregisterAgent unregister, string ferryType)
Parameters
Type |
Name |
Description |
FerryLayer |
layer |
|
UnregisterAgent |
unregister |
|
System.String |
ferryType |
|
Properties
Boarding
Declaration
public bool Boarding { get; }
Property Value
Type |
Description |
System.Boolean |
|
BrakingActivated
Declaration
public bool BrakingActivated { get; }
Property Value
Type |
Description |
System.Boolean |
|
CurrentFerryRouteEntry
Declaration
public FerryRouteEntry CurrentFerryRouteEntry { get; }
Property Value
DepartureTickArrived
Declaration
public bool DepartureTickArrived { get; }
Property Value
Type |
Description |
System.Boolean |
|
Ferry
Declaration
public Ferry Ferry { get; set; }
Property Value
FerryRoute
Declaration
public FerryRoute FerryRoute { get; set; }
Property Value
FerryRouteEnumerator
Declaration
public FerryRoute.FerryRouteEnumerator FerryRouteEnumerator { get; }
Property Value
GoalReached
Declaration
public bool GoalReached { get; }
Property Value
Type |
Description |
System.Boolean |
|
Layer
Declaration
public FerryLayer Layer { get; }
Property Value
Line
Declaration
public int Line { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
MinimumBoardingTimeInSeconds
Declaration
public int MinimumBoardingTimeInSeconds { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
OvertakingActivated
Declaration
public bool OvertakingActivated { get; }
Property Value
Type |
Description |
System.Boolean |
|
Position
Declaration
public Position Position { get; set; }
Property Value
Type |
Description |
Position |
|
RemainingStations
Declaration
public IEnumerable<FerryRouteEntry> RemainingStations { get; }
Property Value
StableId
Declaration
public int StableId { get; }
Property Value
Type |
Description |
System.Int32 |
|
StationStops
Declaration
public int StationStops { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Notify(PassengerMessage)
Declaration
public void Notify(PassengerMessage passengerMessage)
Parameters
Tick()
Declaration
public override void Tick()
Implements
IPositionable