browner10 2002/06/20 14:10:02 PDT
Added files:
src/AI Instinct.h
Log:
Instinct is an object that is a single instinctive reaction. It has a
virtual function isTriggered() which is the event to test for in the
world and reaction is avehavior to perfrom if isTriggered is true.
Currently this is implemented by passing in a BoolBehavior called Event,
However this will be changed to a regular behavior soon
Revision Changes Path
1.1 +84 -0 midworld/src/AI/Instinct.h (new)
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/midworld/src/AI/Instinct.h?rev=1.1&content-type=text/plain
|