|
Oolite
|
#include <DockEntity.h>
Inheritance diagram for DockEntity:
Collaboration diagram for DockEntity:Private Attributes | |
| NSMutableDictionary * | shipsOnApproach |
| NSMutableArray * | launchQueue |
| double | last_launch_time |
| ShipEntity * | id_lock [MAX_DOCKING_STAGES] |
| Vector | port_dimensions |
| double | port_corridor |
| BOOL | no_docking_while_launching |
| BOOL | allow_launching |
| BOOL | allow_docking |
| BOOL | disallowed_docking_collides |
| BOOL | virtual_dock |
Definition at line 31 of file DockEntity.h.
| - (void) abortAllDockings |
Definition at line 1 of file DockEntity.m.
|
implementation |
Definition at line 1 of file DockEntity.m.
| - (void) abortDockingForShip: | (ShipEntity *) | ship |
Definition at line 1 of file DockEntity.m.
| - (void) addShipToLaunchQueue: | (ShipEntity *) | ship | |
| withPriority: | (BOOL) | priority | |
Definition at line 1 of file DockEntity.m.
|
implementation |
Provided by category DockEntity(OOPrivate).
Definition at line 1 of file DockEntity.m.
| - (BOOL) allowsDocking |
Definition at line 1 of file DockEntity.m.
| - (BOOL) allowsLaunching |
Definition at line 1 of file DockEntity.m.
| - (BOOL) allowsLaunchingOf: | (ShipEntity *) | ship |
Definition at line 1 of file DockEntity.m.
|
implementation |
Provided by category DockEntity(OOPrivate).
Definition at line 1 of file DockEntity.m.
| - (void) autoDockShipsOnApproach |
Definition at line 1 of file DockEntity.m.
| - (NSString *) canAcceptShipForDocking: | (ShipEntity *) | ship |
Definition at line 1 of file DockEntity.m.
| - (void) clear |
Definition at line 1 of file DockEntity.m.
|
implementation |
Provided by category DockEntity(OOPrivate).
Definition at line 1 of file DockEntity.m.
| - (void) clearDockingCorridor |
Definition at line 1 of file DockEntity.m.
|
implementation |
Provided by category DockEntity(OOPrivate).
Definition at line 1 of file DockEntity.m.
| - (NSUInteger) countOfShipsInDockingQueue |
Definition at line 1 of file DockEntity.m.
| - (NSUInteger) countOfShipsInLaunchQueue |
Definition at line 1 of file DockEntity.m.
| - (NSUInteger) countOfShipsInLaunchQueueWithPrimaryRole: | (NSString *) | role |
Definition at line 1 of file DockEntity.m.
|
implementation |
Reimplemented from ShipEntity.
Definition at line 1 of file DockEntity.m.
| - (BOOL) disallowedDockingCollides |
Definition at line 1 of file DockEntity.m.
| - (BOOL) dockingCorridorIsEmpty |
Definition at line 1 of file DockEntity.m.
| - (NSDictionary *) dockingInstructionsForShip: | (ShipEntity *) | ship |
Guides a ship into the dock.
Now the ship is in the vicinity of the station in the correct hemispere. Let's guide them in.
TODO: Where is the detection that the ship has docked?
TODO: What are the magic number's units? Is it km (kilometers)?
Definition at line 1 of file DockEntity.m.
|
implementation |
Reimplemented from ShipEntity.
Definition at line 1 of file DockEntity.m.
|
implementation |
Reimplemented from ShipEntity.
Provided by category DockEntity(OOJavaScriptExtensions).
Definition at line 256 of file OOJSDock.m.
|
implementation |
Reimplemented from ShipEntity.
Definition at line 1 of file DockEntity.m.
|
implementation |
| - (BOOL) isOffCentre |
Definition at line 1 of file DockEntity.m.
| - (void) launchShip: | (ShipEntity *) | ship |
Definition at line 1 of file DockEntity.m.
| - (void) noteDockingForShip: | (ShipEntity *) | ship |
Definition at line 1 of file DockEntity.m.
|
implementation |
Reimplemented from ShipEntity.
Definition at line 1 of file DockEntity.m.
|
implementation |
Reimplemented from ShipEntity.
Provided by category DockEntity(OOJavaScriptExtensions).
Definition at line 256 of file OOJSDock.m.
| - (Vector) portUpVectorForShipsBoundingBox: | (BoundingBox) | bb |
Definition at line 1 of file DockEntity.m.
| - (NSUInteger) pruneAndCountShipsOnApproach |
Definition at line 1 of file DockEntity.m.
|
implementation |
Provided by category DockEntity(OOPrivate).
Definition at line 1 of file DockEntity.m.
| - (void) setAllowsDocking: | (BOOL) | allow |
Definition at line 1 of file DockEntity.m.
Referenced by DockSetProperty().
Here is the caller graph for this function:| - (void) setAllowsLaunching: | (BOOL) | allow |
Definition at line 1 of file DockEntity.m.
Referenced by DockSetProperty().
Here is the caller graph for this function:| - (void) setDimensionsAndCorridor: | (BOOL) | ||
| docking: | (BOOL) | ||
| ddc: | (BOOL) | launching | |
Definition at line 1 of file DockEntity.m.
| - (void) setDisallowedDockingCollides: | (BOOL) | ddc |
Definition at line 1 of file DockEntity.m.
Referenced by DockSetProperty().
Here is the caller graph for this function:
|
implementation |
Reimplemented from ShipEntity.
Definition at line 1 of file DockEntity.m.
| - (void) setVirtual |
Definition at line 1 of file DockEntity.m.
| - (BOOL) shipIsInDockingCorridor: | (ShipEntity *) | ship |
Definition at line 1 of file DockEntity.m.
| - (BOOL) shipIsInDockingQueue: | (ShipEntity *) | ship |
Definition at line 1 of file DockEntity.m.
Referenced by DockEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:.
Here is the caller graph for this function:
|
implementation |
Reimplemented from ShipEntity.
Definition at line 1 of file DockEntity.m.
|
implementation |
Reimplemented from ShipEntity.
Definition at line 1 of file DockEntity.m.
|
private |
Definition at line 46 of file DockEntity.h.
|
private |
Definition at line 45 of file DockEntity.h.
|
private |
Definition at line 47 of file DockEntity.h.
|
private |
Definition at line 39 of file DockEntity.h.
|
private |
Definition at line 36 of file DockEntity.h.
|
private |
Definition at line 35 of file DockEntity.h.
|
private |
Definition at line 44 of file DockEntity.h.
|
private |
Definition at line 42 of file DockEntity.h.
|
private |
Definition at line 41 of file DockEntity.h.
|
private |
Definition at line 34 of file DockEntity.h.
|
private |
Definition at line 48 of file DockEntity.h.