axmol/samples/Javascript/CocosPlayer/Classes/MainSceneHelper.h

24 lines
627 B
C
Raw Normal View History

2013-01-25 10:29:39 +08:00
#include "cocos2d.h"
#include "string.h"
USING_NS_CC;
class CCBHelper {
public:
static CCMenuItemImage * mBtnRun;
static CCMenuItemImage * mBtnReset;
static CCMenuItemImage * mBtnPair;
2013-04-18 08:24:59 +08:00
static bool gameAvailable;
static std::string mLblStatus_prev, mLblStatus_str;
static std::string mLblPair_prev, mLblPair_str;
static std::string mLblInstructions_str, mLblInstructions_prev;
2013-01-25 10:29:39 +08:00
2013-04-18 08:24:59 +08:00
static void setPairMessage(std::string str);
static void setInstructionsMessage(std::string msg);
static void setStatusMessage(std::string str);
static bool isMainJSPresent();
static bool checkIsMainJSPresent();
2013-01-25 10:29:39 +08:00
};