Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOSound(OOCustomSounds) Category Reference

#include <Universe.h>

Instance Methods

(id) - initWithCustomSoundKey:
 

Class Methods

(id) + soundWithCustomSoundKey:
 

Detailed Description

Definition at line 856 of file Universe.h.

Method Documentation

◆ initWithCustomSoundKey:

- (id) initWithCustomSoundKey: (NSString *) key

Extends class OOSound.

Definition at line 10720 of file Universe.m.

11063 :(NSString *)key
11064{
11065 [self release];
11066 return [[OOSound soundWithCustomSoundKey:key] retain];
11067}
id soundWithCustomSoundKey:(NSString *key)
Definition Universe.m:11055

◆ soundWithCustomSoundKey:

+ (id) soundWithCustomSoundKey: (NSString *) key

Extends class OOSound.

Definition at line 10720 of file Universe.m.

11055 :(NSString *)key
11056{
11057 NSString *fileName = [UNIVERSE soundNameForCustomSoundKey:key];
11058 if (fileName == nil) return nil;
11059 return [ResourceManager ooSoundNamed:fileName inFolder:@"Sounds"];
11060}
return nil
OOSound * ooSoundNamed:inFolder:(NSString *fileName,[inFolder] NSString *folderName)

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