//## begin module%1.4%.codegen_version preserve=yes
//   Read the documentation to learn more about C++ code generator
//   versioning.
//## end module%1.4%.codegen_version

//## begin module%3D9AC98B0294.cm preserve=no
//	  %X% %Q% %Z% %W%
//## end module%3D9AC98B0294.cm

//## begin module%3D9AC98B0294.cp preserve=no
//## end module%3D9AC98B0294.cp

//## Module: Behavior%3D9AC98B0294; Pseudo Package body
//## Source file: C:\Program Files\Rational\Rose\C++\source\Behavior.cpp

//## begin module%3D9AC98B0294.additionalIncludes preserve=no
//## end module%3D9AC98B0294.additionalIncludes

//## begin module%3D9AC98B0294.includes preserve=yes
//## end module%3D9AC98B0294.includes

// Behavior
#include "Behavior.h"
//## begin module%3D9AC98B0294.additionalDeclarations preserve=yes
extern Commander g_commander;
//## end module%3D9AC98B0294.additionalDeclarations


// Class Behavior

Behavior::Behavior()
  //## begin Behavior::Behavior%3D9AC98B0294_const.hasinit preserve=no
  //## end Behavior::Behavior%3D9AC98B0294_const.hasinit
  //## begin Behavior::Behavior%3D9AC98B0294_const.initialization preserve=yes
  //## end Behavior::Behavior%3D9AC98B0294_const.initialization
{
  //## begin Behavior::Behavior%3D9AC98B0294_const.body preserve=yes
  clusterRadius = 0.3;
  myClusterPointDensity = 0.0;
  drive = Drive::getDrive();
  sir = SIR::getSIR();
  setCommander(g_commander);
  //## end Behavior::Behavior%3D9AC98B0294_const.body
}


// Additional Declarations
  //## begin Behavior%3D9AC98B0294.declarations preserve=yes
  void Behavior::setCommander(Commander& aCommander)
  {
		 myCommander = &aCommander;
  }
  //## end Behavior%3D9AC98B0294.declarations

//## begin module%3D9AC98B0294.epilog preserve=yes
//## end module%3D9AC98B0294.epilog
