cocos2d-x  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCColliderFilter Class Reference

#include <CCColliderDetector.h>

Public Member Functions

 ~CCColliderFilter ()
 CCColliderFilter (unsigned short categoryBits=0x0001, unsigned short maskBits=0xFFFF, signed short groupIndex=0)
void updateShape (b2Fixture *fixture)

Public Attributes

virtual unsigned short getCategoryBits (void)\n\n public
 getCategoryBits More...
 
virtual unsigned short getMaskBits (void)\n\n public
 getMaskBits More...
 
virtual signed short getGroupIndex (void)\n\n public
 getGroupIndex More...
 

Protected Attributes

unsigned short m_CategoryBits
unsigned short m_MaskBits
signed short m_GroupIndex

Constructor & Destructor Documentation

~CCColliderFilter ( )
inline
CCColliderFilter ( unsigned short  categoryBits = 0x0001,
unsigned short  maskBits = 0xFFFF,
signed short  groupIndex = 0 
)

Member Function Documentation

void updateShape ( b2Fixture *  fixture)

Member Data Documentation

virtual unsigned short
getCategoryBits(void)\n\n
public

getCategoryBits

setCategoryBits

virtual signed short
getGroupIndex(void)\n\n public

getGroupIndex

setGroupIndex

virtual unsigned short
getMaskBits(void)\n\n public

getMaskBits

setMaskBits

unsigned short m_CategoryBits
protected
signed short m_GroupIndex
protected
unsigned short m_MaskBits
protected

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