OLD | NEW |
| (Empty) |
1 class CCPhysicsSprite : public CCSprite | |
2 { | |
3 b2Body* getB2Body() const; | |
4 void setB2Body(b2Body *pBody); | |
5 float getPTMRatio() const; | |
6 void setPTMRatio(float fPTMRatio); | |
7 | |
8 static CCPhysicsSprite* createWithTexture(CCTexture2D *pTexture); | |
9 static CCPhysicsSprite* createWithTexture(CCTexture2D *pTexture, CCRect
rect); | |
10 static CCPhysicsSprite* createWithSpriteFrame(CCSpriteFrame *pSpriteFram
e); | |
11 static CCPhysicsSprite* createWithSpriteFrameName(const char *pszSpriteF
rameName); | |
12 static CCPhysicsSprite* create(const char *pszFileName, CCRect rect); | |
13 static CCPhysicsSprite* create(const char *pszFileName); | |
14 static CCPhysicsSprite* create(); | |
15 }; | |
OLD | NEW |