[Gcblue-commits] gcb_wx/include/ai Brain.h,1.6,1.7
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-04-29 18:52:12
|
Update of /cvsroot/gcblue/gcb_wx/include/ai In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27186/include/ai Modified Files: Brain.h Log Message: Index: Brain.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/ai/Brain.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Brain.h 2 Mar 2005 22:28:35 -0000 1.6 --- Brain.h 29 Apr 2005 18:52:01 -0000 1.7 *************** *** 35,38 **** --- 35,40 ---- class tcPlatformObject; + class tcStream; + class tcCommandStream; namespace ai *************** *** 75,78 **** --- 77,87 ---- void Update(double t); + + tcCommandStream& operator<<(tcCommandStream& stream); + tcCommandStream& operator>>(tcCommandStream& stream); + void ClearNewCommand(); + bool HasNewCommand() const; + + Brain(tcPlatformObject* platform_); ~Brain(); *************** *** 84,87 **** --- 93,97 ---- long target; ///< id of target (may be more general way to handle this) bool updating; ///< true if in the middle of Update + bool hasNewCommand; ///< for multiplayer, true if task or bb state has been changed Blackboard board; ///< for inter-task communication |