All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
/Projects/Cogito/src/Singletons/KnowledgeBase.h
Go to the documentation of this file.
00001 //
00002 //  KnowledgeBase.h
00003 //  Author: Thomas Taylor
00004 //
00005 //  A shared knowledge base used by the lemmings
00006 //
00007 //  18/02/2011: Created class
00008 //
00009 
00010 #import "cocos2d.h"
00011 #import "GameManager.h"
00012 #import "GameObject.h"
00013 #import "LemmingManager.h"
00014 #import "Obstacle.h"
00015 #import "QState.h"
00016 #import "TreeState.h"
00017 
00018 @interface KnowledgeBase : NSObject
00019 
00020 {
00021     // reinforcement
00022     CCArray* gameStates;
00023     
00024     // shortest route
00025     CCArray* routes;      
00026 }
00027 
00028 +(KnowledgeBase*)sharedKnowledgeBase;
00029 -(QState*)getStateForGameObject:(GameObject*)_object;
00030 -(void)exportKnowledgeBase;
00031 -(void)clearKnowledgeBase;
00032 
00033 @end