Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
CollisionFilter Class Reference
Inheritance diagram for CollisionFilter:
[legend]
Collaboration diagram for CollisionFilter:
[legend]

Public Member Functions

 CollisionFilter (WorldObject *owner, uint32_t collisionMask=0xFFFFFFFF)
 
uint32_t collisionMask () const
 
void setCollideableWith (WorldObjectType objectType, bool collides)
 
bool isCollideableWith (const CollisionFilter *other) const
 
virtual WorldObjectowner () const
 
virtual WorldObjectcreator () const
 

Protected Member Functions

bool areMasksCollidable (const CollisionFilter *other) const
 
virtual bool specialIsCollideableWith (const CollisionFilter *other) const
 

Protected Attributes

uint32_t m_collisionMask
 
WorldObjectm_owner
 

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