Dear researchers,
I'm studying the source code and notised the following
in this file
rescue-0_44-unix\program\miscsimulator\main.cxx from
package 0.44.
#ifdef MISC
void move(S32& time, MovingObject* agent, Input&
input, MiscObjectPool& pool, Config& config)
#else
void move(S32& time, MovingObject* agent, Input&
input, ObjectPool& pool, Config& config)
#endif
{
FireBrigade* brigade =
dynamic_cast<FireBrigade*>(agent);
if(brigade != 0 && brigade->stretchedLength() > 1)
brigade->setStretchedLength(time, 0);
}
The move() function is a common utility for all
Humanoid agents, am I guessing right? Is there any
problem with this function? Which system/simulator
module would control an agent's movement across the
diaster space in the package? To my curiosity what is
this property StretchedLength meaning to a
FireBrigade? Many thanks.
Raymond U
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
This archive was generated by hypermail 2.1.3 : Sun 21 Nov 2004 - 18:19:29 GMT