Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes
Physics::CollisionPair Class Reference
Collaboration diagram for Physics::CollisionPair:
Collaboration graph

List of all members.

Public Member Functions

 CollisionPair (const UserPointer *a1, const UserPointer *b1)
bool operator== (const CollisionPair p)

Public Attributes

const UserPointera
const UserPointerb

Detailed Description

Definition at line 54 of file physics.hpp.

Constructor & Destructor Documentation

Physics::CollisionPair::CollisionPair ( const UserPointer a1,
const UserPointer b1 
) [inline]

Definition at line 61 of file physics.hpp.

            if(a1->is(UserPointer::UP_KART) && 
               b1->is(UserPointer::UP_KART) && a1>b1) {
           } else {
               a=a1; b=b1; 
        };  //    CollisionPair

Here is the call graph for this function:

Member Function Documentation

bool Physics::CollisionPair::operator== ( const CollisionPair  p) [inline]

Definition at line 69 of file physics.hpp.

            return (p.a==a && p.b==b);

Member Data Documentation

Definition at line 56 of file physics.hpp.

Definition at line 56 of file physics.hpp.

The documentation for this class was generated from the following file: