All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
/Projects/Cogito/src/Objects/Route.h
Go to the documentation of this file.
00001 //
00002 //  Route.h
00003 //  Author: Thomas Taylor
00004 //
00005 //  Contains data about a specific route
00006 //
00007 //  18/02/2012: Created class
00008 //
00009 
00010 #import "cocos2d.h"
00011 #import "CommonDataTypes.h"
00012 #import <Foundation/Foundation.h>
00013 #import "State.h"
00014 
00015 @interface Route : NSObject
00016 
00017 {
00018     CCArray* nodes;
00019     BOOL survived;
00020 }
00021 
00022 @property (readwrite) BOOL survived;
00023 
00024 -(void)addState:(State*)_state withAction:(Action)_action;
00025 -(CCArray*)getNodes;
00026 
00027 @end