34 AICharPool _ai_char_pool;
37 std::vector<NodePath> _obstacles;
38 typedef std::vector<Flock*> FlockPool;
39 FlockPool _flock_pool;
40 void remove_ai_char_from_flock(std::string name);
47 void remove_ai_char(std::string name);
49 void add_flock(
Flock *flock);
50 void flock_off(
unsigned int flock_id);
51 void flock_on(
unsigned int flock_id);
52 void remove_flock(
unsigned int flock_id);
53 Flock get_flock(
unsigned int flock_id);
55 void add_obstacle(
NodePath obstacle);
56 void remove_obstacle(
NodePath obstacle);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is used to define the flock attributes and the AI characters which are part of the flock.
A class that implements the virtual AI world which keeps track of the AI characters active at any giv...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...