14 #ifndef COLLISIONHANDLERQUEUE_H
15 #define COLLISIONHANDLERQUEUE_H
41 int get_num_entries()
const;
43 MAKE_SEQ(get_entries, get_num_entries, get_entry);
44 MAKE_SEQ_PROPERTY(entries, get_num_entries, get_entry);
46 void output(std::ostream &out)
const;
47 void write(std::ostream &out,
int indent_level = 0)
const;
49 EXTENSION(PyObject *__reduce__(PyObject *
self)
const);
59 static void init_type() {
60 CollisionHandler::init_type();
62 CollisionHandler::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
Defines a single collision event.
A special kind of CollisionHandler that does nothing except remember the CollisionEntries detected th...
The abstract interface to a number of classes that decide what to do when a collision is detected.
virtual void begin_group()
Will be called by the CollisionTraverser before a new traversal is begun.
virtual void add_entry(CollisionEntry *entry)
Called between a begin_group() .
TypeHandle is the identifier used to differentiate C++ class types.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...