一个高度简化的游戏主循环:
while( user doesn't exit ) check for user input run AI move enemies resolve collisions draw graphics play sounds end while
发表于 @ 2005年05月14日 00:20:00|评论(loading...)|编辑