All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
/Projects/Cogito/src/Objects/GraphSlide.h
Go to the documentation of this file.
00001 //
00002 //  GraphSlide.h
00003 //  Author: Thomas Taylor
00004 //
00005 //  A type of slide which displays a graph(!)
00006 //
00007 //  07/03/2012: Created class
00008 //
00009 
00010 #import "cocos2d.h"
00011 #import "CommonDataTypes.h"
00012 #import "DataManager.h"
00013 #import "Slide.h"
00014 #import "Utils.h"
00015 
00016 @interface GraphSlide : Slide
00017 
00018 {
00019     GraphType type;
00020     
00021     // the graph bars
00022     CCSprite* reinforcementBefore;
00023     CCSprite* reinforcementAfter;
00024     
00025     CCSprite* decisionTreeBefore;
00026     CCSprite* decisionTreeAfter;
00027     
00028     CCSprite* shortestRouteBefore;
00029     CCSprite* shortestRouteAfter;
00030     
00031     CCSprite* noneBefore;
00032     CCSprite* noneAfter;
00033 }
00034 
00035 @property (readonly) GraphType type;
00036 
00037 -(id)initWithImage:(NSString*)_imageName type:(GraphType)_type;
00038 
00039 @end