14#ifndef PHYSXOBJECTCOLLECTION_H
15#define PHYSXOBJECTCOLLECTION_H
28 INLINE
unsigned int size()
const;
29 INLINE
void add(PT(T)
object);
30 INLINE
void remove(PT(T)
object);
31 INLINE T *
get(
unsigned int index)
const;
32 INLINE T *operator [] (
unsigned int index)
const;
34 INLINE
void ls()
const;
35 INLINE
void ls(std::ostream &out,
int indent_level=0)
const;
38 pvector<PT(T)> _objects;
T * get(unsigned int index) const
Returns the n-th PhysxObject in the collection.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.