15 #ifndef COLLISIONHANDLERQUEUE_H
16 #define COLLISIONHANDLERQUEUE_H
18 #include "pandabase.h"
20 #include "collisionHandler.h"
21 #include "collisionEntry.h"
44 int get_num_entries()
const;
46 MAKE_SEQ(get_entries, get_num_entries, get_entry);
48 void output(ostream &out)
const;
49 void write(ostream &out,
int indent_level = 0)
const;
59 static void init_type() {
60 CollisionHandler::init_type();
61 register_type(_type_handle,
"CollisionHandlerQueue",
62 CollisionHandler::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The abstract interface to a number of classes that decide what to do when a collision is detected...
Defines a single collision event.
A special kind of CollisionHandler that does nothing except remember the CollisionEntries detected th...
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.