| 38 | } |
| 39 | |
| 40 | bool MoreGamesLayer::init() |
| 41 | { |
| 42 | auto layer = ax::Layer::create(); |
| 43 | |
| 44 | std::string bigFontStr = GameToolbox::getTextureString("bigFont.fnt"); |
| 45 | const auto& winSize = ax::Director::getInstance()->getWinSize(); |
| 46 | |
| 47 | auto label = ax::Label::createWithBMFont(bigFontStr, "Nothing here yet... sorry :("); |
| 48 | label->setScale(0.6f); |
| 49 | label->setPosition(0, 0); |
| 50 | layer->addChild(label); |
| 51 | |
| 52 | auto dropdownlayer = DropDownLayer::create(layer, "RobTop Games"); |
| 53 | dropdownlayer->showLayer(true, false); |
| 54 | |
| 55 | return true; |
| 56 | } |
no test coverage detected