void UpdatePlay(GAME_STATE& _state) { direction nextDir = GetDirection(); MoveObject(nextDir, maps[crrStageNumber]); if (maps[crrStageNumber]をクリアチェックしてクリアしていたら) { //クリアシーンに移動 _state = GAME_STATE::CLEAR; } }