Pursue Class Reference

#include <pursue.h>

Collaboration diagram for Pursue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Pursue (AICharacter *ai_ch, NodePath target_object, float pursue_wt)
 ~Pursue ()
LVecBase3f do_pursue ()

Public Attributes

AICharacter_ai_char
NodePath _pursue_target
float _pursue_weight
LVecBase3f _pursue_direction
bool _pursue_done

Detailed Description

Definition at line 23 of file pursue.h.


Constructor & Destructor Documentation

Pursue::Pursue ( AICharacter ai_ch,
NodePath  target_object,
float  pursue_wt 
)

Filename : pursue.cxx Created by : Deepak, John, Navin Date : 24 Oct 09

PANDA3D SOFTWARE Copyright(c) Carnegie Mellon University. All rights reserved.

All use of this software is subjest to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE"

Definition at line 17 of file pursue.cxx.

Pursue::~Pursue (  ) 

Definition at line 26 of file pursue.cxx.


Member Function Documentation

LVecBase3f Pursue::do_pursue (  ) 

Function : do_pursue Description : This function performs the pursue and returns a pursue force which is used in the calculate_prioritized function. In case the target has been reached it resets the forces to 0 so that the character stops. This function is not to be used by the user.

Definition at line 39 of file pursue.cxx.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 26 of file pursue.h.

Definition at line 30 of file pursue.h.

Definition at line 31 of file pursue.h.

Definition at line 28 of file pursue.h.

Definition at line 29 of file pursue.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:41 2009 for PandAI by  doxygen 1.6.1