08 2015 档案

摘要:private static Random r = new Random(); //利用random this(r.nextInt(Yard.ROWS-2) + 2, r.nextInt(Yard.COLS));// nextInt(int a) 在0 到a 范围内产生随机数 贪吃蛇编写步骤:面向... 阅读全文
posted @ 2015-08-31 09:25 zhaoprence 阅读(243) 评论(0) 推荐(0)