OGWWorldMaps Class Reference
Inherits from | NSObject |
Declared in | OGWWorldMaps.h |
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.
See Also
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