Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
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 1 of file OOEntityInspectorExtensions.m.

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

◆ inspCanBecomeTarget

- (BOOL) inspCanBecomeTarget
implementation

Extends class ShipEntity.

Definition at line 1 of file OOEntityInspectorExtensions.m.

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

◆ inspDescription

- (NSString *) inspDescription
implementation

Extends class ShipEntity.

Definition at line 1 of file OOEntityInspectorExtensions.m.

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

◆ inspHasSecondaryIdentityLine

- (BOOL) inspHasSecondaryIdentityLine
implementation

Extends class ShipEntity.

Definition at line 1 of file OOEntityInspectorExtensions.m.

173{
174 return YES;
175}

◆ inspSecondaryIdentityLine

- (NSString *) inspSecondaryIdentityLine
implementation

Extends class ShipEntity.

Definition at line 1 of file OOEntityInspectorExtensions.m.

179{
180 return [self displayName];
181}

◆ inspTargetLine

- (NSString *) inspTargetLine
implementation

Extends class ShipEntity.

Definition at line 1 of file OOEntityInspectorExtensions.m.

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

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