historical/toontown-classic.git/panda/include/pursue.h
2024-01-16 11:20:27 -06:00

37 lines
756 B
C++

/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject 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."
*
* @file pursue.h
* @author Deepak, John, Navin
* @date 2009-10-24
*/
#ifndef _PURSUE_H
#define _PURSUE_H
#include "aiGlobals.h"
#include "aiCharacter.h"
class AICharacter;
class EXPCL_PANDAAI Pursue {
public:
AICharacter *_ai_char;
NodePath _pursue_target;
float _pursue_weight;
LVecBase3 _pursue_direction;
bool _pursue_done;
Pursue(AICharacter *ai_ch, NodePath target_object, float pursue_wt);
~Pursue();
LVecBase3 do_pursue();
};
#endif