14 #ifndef COLLISIONHANDLERQUEUE_H 15 #define COLLISIONHANDLERQUEUE_H 40 int get_num_entries()
const;
42 MAKE_SEQ(get_entries, get_num_entries, get_entry);
43 MAKE_SEQ_PROPERTY(entries, get_num_entries, get_entry);
45 void output(std::ostream &out)
const;
46 void write(std::ostream &out,
int indent_level = 0)
const;
56 static void init_type() {
57 CollisionHandler::init_type();
59 CollisionHandler::get_class_type());
62 return get_class_type();
64 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.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.