Example #1
0
StageSelect::StageSelect()
    : stage_No_(1)
    , stage_Max_No_(0)
    , font_(YuFont("src/whiteblack/Top/yumayoLib/meiryo.ttc"))
{
    setup();
    Setup_map_Data_();
    Setup_map_Comment_();
    menu_ = std::vector<Sub_Menu>(2);
    menu_[0].setup(Vec2f(WIDTH / 2 - 150.0f, -HEIGHT / 2 + 60.0f * (2.0f * 1.1f) + 150.0f));
    menu_[1].setup(Vec2f(WIDTH / 2 - 150.0f, -HEIGHT / 2 + 60.0f + 150.0f));
}
Example #2
0
Title::Title()
    : font_(YuFont("src/whiteblack/Top/yumayoLib/meiryo.ttc"))
{
    hyt::g_Title_AND_StageSelect_Bgm = (Media("res/sound/title.wav"));
    setup();
}