7 #ifndef __intelligence_Attractor_h__ 8 #define __intelligence_Attractor_h__ 30 add(attraction, FE_SPEC(
"ai:attraction",
32 add(focus, FE_SPEC(
"ai:focus",
33 "Distance to point of effect"));
39 identifier()=
"Attractor";
42 observationRV.
bind(purview());
44 cylinderRV.
bind(observationRV.shape());
46 set(cylinderRV.span(),0.0f,-4.0f,0.0f);
47 cylinderRV.baseRadius()=1.0f;
48 cylinderRV.endRadius()=5.0f;
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: lab/intelligence/Scanner.h:36
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: Attractor.h:35
void bind(sp< Scope > &rspScope)
Associate with a Scope.
Definition: RecordView.h:319
kernel
Definition: namespace.dox:3
Bound accessor in a RecordView.
Definition: RecordView.h:147
Attractor RecordView.
Definition: Attractor.h:19
Cylinder RecordView.
Definition: Cylinder.h:27
Scanner RecordView.
Definition: lab/intelligence/Scanner.h:19
Observation RecordView.
Definition: Observation.h:22
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: Attractor.h:26
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: lab/intelligence/Scanner.h:65