mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
adding flush()
This commit is contained in:
parent
59d9af082a
commit
5b105d3968
@ -162,6 +162,17 @@ clear() {
|
||||
_current_colliding.clear();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: CollisionHandlerEvent::flush
|
||||
// Access: Public
|
||||
// Description: Same as clear() except "out" events are thrown.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void CollisionHandlerEvent::
|
||||
flush() {
|
||||
begin_group();
|
||||
end_group();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: CollisionHandlerEvent::throw_event_for
|
||||
// Access: Private
|
||||
|
@ -66,6 +66,7 @@ PUBLISHED:
|
||||
INLINE string get_out_pattern(int n) const;
|
||||
|
||||
void clear();
|
||||
void flush();
|
||||
|
||||
protected:
|
||||
void throw_event_for(const vector_string &patterns, CollisionEntry *entry);
|
||||
|
Loading…
x
Reference in New Issue
Block a user