#import "AssetHelper.h"
Go to the source code of this file.
Classes | |
struct | ObjectDef |
Contains all configurable gameplay parameters of any MovingObject. More... | |
Enumerations | |
enum | ObjectTypes { ObjectTypeDefaultPlane, ObjectTypes_MAX } |
list of all ObjectTypes that are defined More... | |
enum | ImageOrientations { ImageOrientationRight = 0, ImageOrientationUp = -90, ImageOrientationLeft = -180, ImageOrientationDown = -270 } |
Functions | |
static __inline__ ObjectDef | ObjectDefMake (ObjectTypes type, NSString *imageFileName, NSString *proximityWarningFileName, ImageOrientations imageOrientation, float speed, float rotationSpeed, float touchRadius, float collisionRadius) |
Convenience method to create and initialize an ObjectDef struct. |
enum ImageOrientations |
enum ObjectTypes |
static __inline__ ObjectDef ObjectDefMake | ( | ObjectTypes | type, | |
NSString * | imageFileName, | |||
NSString * | proximityWarningFileName, | |||
ImageOrientations | imageOrientation, | |||
float | speed, | |||
float | rotationSpeed, | |||
float | touchRadius, | |||
float | collisionRadius | |||
) | [static] |
Convenience method to create and initialize an ObjectDef struct.
Used to define properties of individual MovingObjects.