Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOShipRegistry(OOConveniences) Category Reference

#include <OOShipRegistry.h>

Instance Methods

(NSArray *) - shipKeys
 
(NSArray *) - shipRoles
 
(NSArray *) - shipKeysWithRole:
 
(NSString *) - randomShipKeyForRole:
 

Detailed Description

Definition at line 61 of file OOShipRegistry.h.

Method Documentation

◆ randomShipKeyForRole:

- (NSString *) randomShipKeyForRole: (NSString *) role

Extends class OOShipRegistry.

Definition at line 1820 of file OOShipRegistry.m.

276 :(NSString *)role
277{
278 return [[self probabilitySetForRole:role] randomObject];
279}

◆ shipKeys

- (NSArray *) shipKeys

Extends class OOShipRegistry.

Definition at line 1820 of file OOShipRegistry.m.

261{
262 return [_shipData allKeys];
263}

◆ shipKeysWithRole:

- (NSArray *) shipKeysWithRole: (NSString *) role

Extends class OOShipRegistry.

Definition at line 1820 of file OOShipRegistry.m.

270 :(NSString *)role
271{
272 return [[self probabilitySetForRole:role] allObjects];
273}

◆ shipRoles

- (NSArray *) shipRoles

Extends class OOShipRegistry.

Definition at line 1820 of file OOShipRegistry.m.

266{
267 return [_probabilitySets allKeys];
268}

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