Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOShipGroup(OOInspectorExtensions) Category Reference

Instance Methods

(NSString *) - inspDescription [implementation]
 
(NSString *) - inspBasicIdentityLine [implementation]
 
(NSArray *) - debugInspectorModules [implementation]
 

Detailed Description

Definition at line 110 of file OOShipGroupDebugInspectorModule.m.

Method Documentation

◆ debugInspectorModules

- (NSArray *) debugInspectorModules
implementation

Extends class OOShipGroup.

Definition at line 1 of file OOShipGroupDebugInspectorModule.m.

131{
132 return [[super debugInspectorModules] arrayByAddingInspectorModuleOfClass:[OOShipGroupDebugInspectorModule class]
133 forObject:(id)self];
134}

◆ inspBasicIdentityLine

- (NSString *) inspBasicIdentityLine
implementation

Extends class OOShipGroup.

Definition at line 1 of file OOShipGroupDebugInspectorModule.m.

123{
124 NSString *name = [self name];
125 if (name != nil) return [NSString stringWithFormat:@"Group \"%@\"", name];
126 else return @"Anonymous group";
127}
return nil

◆ inspDescription

- (NSString *) inspDescription
implementation

Extends class OOShipGroup.

Definition at line 1 of file OOShipGroupDebugInspectorModule.m.

113{
114 NSString *name = [self name];
115 if (name != nil) name = [NSString stringWithFormat:@"\"%@\"", name];
116 else name = @"anonymous";
117
118 return [NSString stringWithFormat:@"%@, %lu ships", name, [self count]];
119}

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