Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
contrib
src
ai
pursue.h
1
////////////////////////////////////////////////////////////////////////
2
// Filename : pursue.h
3
// Created by : Deepak, John, Navin
4
// Date : 24 Oct 09
5
////////////////////////////////////////////////////////////////////
6
//
7
// PANDA 3D SOFTWARE
8
// Copyright (c) Carnegie Mellon University. All rights reserved.
9
//
10
// All use of this software is subject to the terms of the revised BSD
11
// license. You should have received a copy of this license along
12
// with this source code in a file named "LICENSE."
13
//
14
////////////////////////////////////////////////////////////////////
15
16
#ifndef _PURSUE_H
17
#define _PURSUE_H
18
19
#include "aiGlobals.h"
20
#include "aiCharacter.h"
21
22
class
AICharacter
;
23
24
class
EXPCL_PANDAAI
Pursue
{
25
26
public
:
27
AICharacter
*_ai_char;
28
29
NodePath
_pursue_target;
30
float
_pursue_weight;
31
LVecBase3
_pursue_direction;
32
bool
_pursue_done;
33
34
Pursue
(
AICharacter
*ai_ch,
NodePath
target_object,
float
pursue_wt);
35
~
Pursue
();
36
LVecBase3
do_pursue();
37
};
38
39
#endif
LVecBase3f
This is the base class for all three-component vectors and points.
Definition:
lvecBase3.h:105
AICharacter
Definition:
aiCharacter.h:38
Pursue
Definition:
pursue.h:24
NodePath
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition:
nodePath.h:165
Generated on Mon Feb 1 2016 13:44:14 for Panda3D by
1.8.5