Singleton that gives you access to all Object Definitions and is the central class for creating MovingObject types.
More...
#import <ObjectDefs.h>
List of all members.
Detailed Description
Singleton that gives you access to all Object Definitions and is the central class for creating MovingObject types.
It doubles as a factory for creating MovingObject instances by calling createMovingObjectOfType: - you should not create MovingObject objects yourself but route it through this class instead by extending it as needed. That way you keep definitions central as well as error handling.
Member Function Documentation
+ (id) alloc |
|
|
|
[implementation] |
- (void) dealloc |
|
|
|
[implementation] |
returns the ObjectDef for a given ObjectTypes type
- (void) initAllObjects |
|
|
|
[implementation] |
returns the singleton object, like this: [ObjectDefs sharedObjectDefs]
Member Data Documentation
The documentation for this class was generated from the following files: