Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
ShipEntity(OOEntityInspectorExtensions) Category Reference

Instance Methods

(BOOL) - inspHasSecondaryIdentityLine [implementation]
 
(NSString *) - inspSecondaryIdentityLine [implementation]
 
(NSString *) - inspDescription [implementation]
 
(NSString *) - inspTargetLine [implementation]
 
(BOOL) - inspCanBecomeTarget [implementation]
 
(void) - inspBecomeTarget [implementation]
 

Detailed Description

Definition at line 170 of file OOEntityInspectorExtensions.m.

Method Documentation

◆ inspBecomeTarget

- (void) inspBecomeTarget
implementation

Extends class ShipEntity.

Definition at line 202 of file OOEntityInspectorExtensions.m.

203{
205}
void addTarget:(Entity *targetEntity)
PlayerEntity * sharedPlayer()

References PlayerEntity::addTarget:, inspBecomeTarget, inspCanBecomeTarget, and PlayerEntity::sharedPlayer.

Referenced by inspBecomeTarget.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inspCanBecomeTarget

- (BOOL) inspCanBecomeTarget
implementation

Extends class ShipEntity.

Definition at line 196 of file OOEntityInspectorExtensions.m.

197{
198 return ![self isSubEntity];
199}

References inspCanBecomeTarget, and Entity::isSubEntity.

Referenced by inspBecomeTarget, and inspCanBecomeTarget.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inspDescription

- (NSString *) inspDescription
implementation

Extends class ShipEntity.

Definition at line 184 of file OOEntityInspectorExtensions.m.

185{
186 return [NSString stringWithFormat:@"%@ ID %u", [self displayName], [self universalID]];
187}

References ShipEntity::displayName, inspDescription, and Entity::universalID.

Referenced by inspDescription.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inspHasSecondaryIdentityLine

- (BOOL) inspHasSecondaryIdentityLine
implementation

Extends class ShipEntity.

Definition at line 172 of file OOEntityInspectorExtensions.m.

173{
174 return YES;
175}

References inspHasSecondaryIdentityLine.

Referenced by inspHasSecondaryIdentityLine.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inspSecondaryIdentityLine

- (NSString *) inspSecondaryIdentityLine
implementation

Extends class ShipEntity.

Definition at line 178 of file OOEntityInspectorExtensions.m.

179{
180 return [self displayName];
181}

References ShipEntity::displayName, and inspSecondaryIdentityLine.

Referenced by inspSecondaryIdentityLine.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inspTargetLine

- (NSString *) inspTargetLine
implementation

Extends class ShipEntity.

Definition at line 190 of file OOEntityInspectorExtensions.m.

191{
192 return [[self primaryTarget] inspDescription];
193}

References inspTargetLine, and ShipEntity::primaryTarget.

Referenced by inspTargetLine.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this category was generated from the following file: