ClassesLineDrawingStarterkit/ObjectDef.h File Reference

#import "AssetHelper.h"
Include dependency graph for ObjectDef.h:
This graph shows which files directly or indirectly include this file:

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.

Enumeration Type Documentation

Enumerator:
ImageOrientationRight 
ImageOrientationUp 
ImageOrientationLeft 
ImageOrientationDown 

list of all ObjectTypes that are defined

Enumerator:
ObjectTypeDefaultPlane 

my dull test planes

ObjectTypes_MAX 

this many ObjectTypes are defined


Function Documentation

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.

 All Classes Files Functions Variables Enumerations Enumerator Properties Defines
Generated on Fri May 28 10:53:09 2010 for Line-Drawing Game Starter Kit for cocos2d-iPhone by  doxygen 1.6.3