Page 94 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 94
}
}
else
{
if(room==0) //1번방
{
sub1_1R;
lv_R;
delayRL;
STOPD;STOPC;STOPG;
lv_SP;
}
else if(room==1) //2번방
{
sub1_2L;
lv_L;
delayRL;
STOPD;STOPC;STOPG;
lv_SP;
}
else if(room==2) //3번방
{
sub2_1R;
lv_R;
delayRL;
STOPD;STOPC;STOPG;
lv_SP;
}
else if(room==3) //4번방
{
sub2_2L;
lv_L;
delayRL;
STOPD;STOPC;STOPG;
lv_SP;
}
else if(room==4) //5번방
{
sub3_1R;
lv_R;
delayRL;
STOPD;STOPC;STOPG;
lv_SP;
}
else if(room==5) //6번방
{
- 87 -