CC_SYNTHESIZE(cocos2d::TMXTiledMap*, gameMap, GameMap);
CC_SYNTHESIZE(MPLAYER_STATE, mPlayerState, MPlayerState);
CC_SYNTHESIZE(float, xSpeed, XSpeed);
CC_SYNTHESIZE(float, ySpeed, YSpeed);
CC_SYNTHESIZE(float, constxSpeed, ConstxSpeed);
CC_SYNTHESIZE(float, constySpeed, ConstySpeed);
CC_SYNTHESIZE(std::vector<GOLD_STRUCT>, goldVector, GoldVector);
void MPlayer::setCurrentMplayerPoint(Point point)
{
mSprite->setPosition(point);
}
Point MPlayer::getCurrentMplayerPoint()
{
return mSprite->getPosition();
}