void tris_time_tick(object sender, ElapsedEventArgs e)
{
int rc;
draw();
rc=common_check(D_DOWN);
if(rc==FAIL)
{
if(ypos==0) stop();
else
{
while(true)
{
if(check_horizon()==FAIL) break;
}
common_init(FAIL);
}
}
}
'c# 언어' 카테고리의 다른 글
TrisPackage.Tris/common_check(); (0) | 2021.11.17 |
---|---|
TrisPackage.Tris/check_horizon(); (0) | 2021.11.17 |
TrisPackage.Tris/direct_check(); (0) | 2021.11.17 |
TrisPackage.Tris/common_init(); (0) | 2021.11.17 |
time_tick - keyboard hit(Auto) (0) | 2021.11.16 |