Inherits from NSObject
Declared in OGWWorldMaps.h

Overview

Container for the world’s maps.

Tasks

Access Maps

Add/Remove Maps

Internal Use Only

Properties

all

Dictionary of the world’s maps keyed by name.

@property (readonly) NSDictionary *all

Return Value

Dictionary of the world’s maps keyed by name.

Declared In

OGWWorldMaps.h

Class Methods

mapsWithWorld:

+ (id)mapsWithWorld:(OGWWorld *)world

Instance Methods

addMap:forKey:

Adds a map and stores it under the given key.

- (void)addMap:(OGWMap *)map forKey:(NSString *)key

Parameters

map

The map to add.

key

A string uniquely identifying the map.

Declared In

OGWWorldMaps.h

mapForKey:

The map with the given key, or nil if there’s no map with this key.

- (OGWMap *)mapForKey:(NSString *)key

Parameters

key

A string uniquely identifying a map.

Return Value

The map with the given key, or nil if there’s no map with this key.

See Also

Declared In

OGWWorldMaps.h

mapForType:

The map with the given key, or nil if there’s no map with this type.

- (OGWMap *)mapForType:(OGWMapType)type

Parameters

type

A predefined or custom map type.

Return Value

The map with the given key, or nil if there’s no map with this type.

See Also

Declared In

OGWWorldMaps.h

removeMapForKey:

Removes map with the given key.

- (void)removeMapForKey:(NSString *)key

Parameters

key

A string uniquely identifying the map.

See Also

Declared In

OGWWorldMaps.h