c# 언어
TrisPackage.Tris/tris_time_tick();
여린완자
2021. 11. 17. 17:25
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);
}
}
}