void common_init(int idx)
{
int ii,kk;
if(idx==SUCC)
{
score=0;
hyun=rr.Next() % MAXDESIGN;
next=rr.Next() % MAXDESIGN;
}
else if(idx==FAIL)
{
hyun=next;
next=rr.Next() % MAXDESIGN;
}
for(ii=0; ii<ARR; ii++)
for(kk=0; kk<ARR; kk++)
{
design[ii,kk]=realdesign[hyun,ii,kk];
tris[ypos+ii,xpos+kk]=design[ii,kk];
}
}
'c# 언어' 카테고리의 다른 글
TrisPackage.Tris/tris_time_tick(); (0) | 2021.11.17 |
---|---|
TrisPackage.Tris/direct_check(); (0) | 2021.11.17 |
time_tick - keyboard hit(Auto) (0) | 2021.11.16 |
Console.SetCursorPosition Method try & catch (0) | 2021.11.11 |
ShowDialog호출시 SubForm에서 데이타 받기(set,get) (0) | 2021.11.10 |