mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 06:36:08 +02:00
add CollisionList::deleteLastCollision()
This commit is contained in:
parent
0cecef6441
commit
d2f858100e
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ public:
|
||||||
/// \return pointer to next collision. NULL if list is full.
|
/// \return pointer to next collision. NULL if list is full.
|
||||||
CollisionInfo* getNewCollision();
|
CollisionInfo* getNewCollision();
|
||||||
|
|
||||||
|
/// \forget about collision at the end
|
||||||
|
void deleteLastCollision();
|
||||||
|
|
||||||
/// \return pointer to collision by index. NULL if index out of bounds.
|
/// \return pointer to collision by index. NULL if index out of bounds.
|
||||||
CollisionInfo* getCollision(int index);
|
CollisionInfo* getCollision(int index);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue