All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
Public Member Functions | Static Public Member Functions | Protected Attributes
KnowledgeBase Class Reference

#import <KnowledgeBase.h>

Public Member Functions

(QState *) - getStateForGameObject:
(void) - exportKnowledgeBase
(void) - clearKnowledgeBase

Static Public Member Functions

(KnowledgeBase *) + sharedKnowledgeBase

Protected Attributes

CCArray * gameStates
CCArray * routes

Detailed Description

Definition at line 18 of file KnowledgeBase.h.


Member Function Documentation

Clears the knowledge base

Definition at line 162 of file KnowledgeBase.m.

Exports the knowledge base

Definition at line 122 of file KnowledgeBase.m.

Looks up the state for the passed object

Parameters:
objectto search for
Returns:
the matching state

Definition at line 85 of file KnowledgeBase.m.

Returns the KnowledgeBase instance

Returns:
the instance

Definition at line 69 of file KnowledgeBase.m.


Field Documentation

- (CCArray*) gameStates [protected]

Definition at line 22 of file KnowledgeBase.h.

- (CCArray*) routes [protected]

Definition at line 25 of file KnowledgeBase.h.


The documentation for this class was generated from the following files: