00001 // 00002 // GameObjects.h 00003 // 00004 // Created by Steffen Itterheim on 08.04.10. 00005 // Copyright 2010 Steffen Itterheim. All rights reserved. 00006 // 00007 00008 #import "cocos2d.h" 00009 00010 00011 @class IncomingMarker; 00012 @class MovingObject; 00013 00014 00018 @interface GameObjects : CCNode 00019 { 00020 IncomingMarker* marker; 00021 00022 int spawnUpdateCount; 00023 int spawnInterval; 00024 00025 unsigned int lastSpawnLocationIndex; 00026 00027 NSMutableArray* spawnLocations; 00028 } 00029 00030 @property (readwrite, retain) IncomingMarker* marker; 00031 00033 +(id) objects; 00035 -(id) init; 00036 00039 -(MovingObject*) getObjectAtLocation:(CGPoint)location; 00040 00041 @end