Wander Class Reference

#include <wander.h>

Collaboration diagram for Wander:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Wander (AICharacter *ai_ch, double wander_radius, bool flag_3D, double aoe, float wander_weight)
LVecBase3f do_wander ()
 ~Wander ()

Public Attributes

AICharacter_ai_char
double _wander_radius
LVecBase3f _wander_target
float _wander_weight
bool _flag_3D
LVecBase3f _init_pos
double _area_of_effect

Detailed Description

Definition at line 22 of file wander.h.


Constructor & Destructor Documentation

Wander::Wander ( AICharacter ai_ch,
double  wander_radius,
bool  flag_3D,
double  aoe,
float  wander_weight 
)

Definition at line 41 of file wander.cxx.

Here is the call graph for this function:

Wander::~Wander (  ) 

Definition at line 60 of file wander.cxx.


Member Function Documentation

LVecBase3f Wander::do_wander (  ) 

Function : do_wander Description : This function performs the wander and returns the wander force which is used in the calculate_prioritized function. This function is not to be used by the user.

Definition at line 72 of file wander.cxx.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 24 of file wander.h.

Definition at line 30 of file wander.h.

Definition at line 28 of file wander.h.

LVecBase3f Wander::_init_pos

Definition at line 29 of file wander.h.

Definition at line 25 of file wander.h.

Definition at line 26 of file wander.h.

Definition at line 27 of file wander.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator

Generated on Tue Nov 3 22:34:43 2009 for PandAI by  doxygen 1.6.1