Advertisement
kevryan

CMPartAidansCooler.h

Apr 22nd, 2016
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.70 KB | None | 0 0
  1. #ifndef __CM_PART_AIDANS_COOLER_H__
  2. #define __CM_PART_AIDANS_COOLER_H__
  3.  
  4. #include "CMPart.h"
  5. #include "CMPartContainer.h"
  6.  
  7. NS_CC_BEGIN
  8.  
  9. class CMPartAidansCooler : public CMPartContainer
  10. {
  11. public:
  12.     CMPartAidansCooler(int id, CMLevel *level, int type, TmPointInt32 pos, int partProcessFlags, int partActionFlags, int state, int rot);
  13.  
  14.     void onCreation(bool fromLoad);
  15.  
  16.     void postPhysicsUpdate(int time, int levelFrame);
  17.  
  18.     void flip();
  19.  
  20.     CMPartBody *mHandleBody;
  21.     CMPartBody *mWheelBody;
  22.  
  23.     cpBody      *mWheelCpBody;
  24.     cpBody      *mHandleCpBody;
  25.  
  26.     cocos2d::Sprite    *mNormalCoolerSprite;
  27.     cocos2d::Sprite    *mFlippedCoolerSprite;
  28. };
  29.  
  30. NS_CC_END
  31.  
  32. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement