cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCMouseDispatcher Class Reference

#include <CCMouseDispatcher.h>

Inheritance diagram for CCMouseDispatcher:
[legend]
Collaboration diagram for CCMouseDispatcher:
[legend]

Public Member Functions

 CCMouseDispatcher ()
 
 CCMouseDispatcher (const CCMouseDispatcher &)
 
virtual ~CCMouseDispatcher ()
 
CCMouseDispatcheroperator= (const CCMouseDispatcher &)
 
void addDelegate (CCMouseDelegate *pDelegate)
 
void removeDelegate (CCMouseDelegate *pDelegate)
 
void forceAddDelegate (CCMouseDelegate *pDelegate)
 
void forceRemoveDelegate (CCMouseDelegate *pDelegate)
 
bool dispatchScrollMSG (float x, float y)
 
- Public Member Functions inherited from CCObject
 CCObject (void)
 
virtual ~CCObject (void)
 NA. More...
 
void release (void)
 
void retain (void)
 
CCObjectautorelease (void)
 
CCObjectcopy (void)
 
bool isSingleReference (void) const
 
unsigned int retainCount (void) const
 
virtual bool isEqual (const CCObject *pObject)
 
virtual void acceptVisitor (CCDataVisitor &visitor)
 
virtual void update (float dt)
 
 CCObject (const CCObject &)
 
CCObjectoperator= (const CCObject &)
 
virtual void encodeWithCoder (DS_Dictionary *)
 
virtual bool canEncode ()
 
CCObjectType getObjType () const
 
virtual int getTag () const
 
virtual void setTag (int nTag)
 
void setObjType (CCObjectType)
 
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)
 

Protected Attributes

CCArraym_pDelegates
 
- Protected Attributes inherited from CCObject
unsigned int m_uReference
 
unsigned int m_uAutoReleaseCount
 
int m_nTag
 
int m_eObjType
 
unsigned int m_uObjectIdxInArray
 

Additional Inherited Members

- Static Public Member Functions inherited from CCObject
static CCObjectcreateWithCoder (DS_Dictionary *)
 
- Public Attributes inherited from CCObject
unsigned int m_uID
 
int m_nLuaID
 

Constructor & Destructor Documentation

◆ CCMouseDispatcher() [1/2]

◆ CCMouseDispatcher() [2/2]

◆ ~CCMouseDispatcher()

virtual ~CCMouseDispatcher ( )
virtual

Member Function Documentation

◆ addDelegate()

void addDelegate ( CCMouseDelegate pDelegate)

◆ dispatchScrollMSG()

bool dispatchScrollMSG ( float  x,
float  y 
)

◆ forceAddDelegate()

void forceAddDelegate ( CCMouseDelegate pDelegate)

◆ forceRemoveDelegate()

void forceRemoveDelegate ( CCMouseDelegate pDelegate)

◆ operator=()

CCMouseDispatcher & operator= ( const CCMouseDispatcher )

◆ removeDelegate()

void removeDelegate ( CCMouseDelegate pDelegate)

Member Data Documentation

◆ m_pDelegates

CCArray* m_pDelegates
protected

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