资源简介


资源截图

代码片段和文件信息

package cn.itcast.snake;

public class GreedSnake {
public static void main(String[] args) {
SnakeModel model = new SnakeModel(20 30);
SnakeControl control = new SnakeControl(model);
SnakeView view = new SnakeView(model control);
// 添加一个观察者,让view成为model的观察者
model.addObserver(view);
new Thread(model).start();
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        301  2015-10-21 15:10  gluttonousSnake\.classpath

     文件        391  2015-10-21 15:10  gluttonousSnake\.project

     文件        598  2015-10-21 15:10  gluttonousSnake\.settings\org.eclipse.jdt.core.prefs

     文件        980  2015-10-21 15:10  gluttonousSnake\bin\cn\itcast\snake\GreedSnake.class

     文件        373  2015-10-21 15:10  gluttonousSnake\bin\cn\itcast\snake\Node.class

     文件       1326  2015-10-21 15:10  gluttonousSnake\bin\cn\itcast\snake\SnakeControl.class

     文件       4269  2015-10-21 15:10  gluttonousSnake\bin\cn\itcast\snake\SnakeModel.class

     文件       3711  2015-10-21 15:10  gluttonousSnake\bin\cn\itcast\snake\SnakeView.class

     文件        355  2015-10-21 15:10  gluttonousSnake\src\cn\itcast\snake\GreedSnake.java

     文件       1803  2015-10-21 15:10  gluttonousSnake\src\cn\itcast\snake\SnakeControl.java

     文件       6282  2015-10-21 15:10  gluttonousSnake\src\cn\itcast\snake\SnakeModel.java

     文件       2573  2015-10-21 15:10  gluttonousSnake\src\cn\itcast\snake\SnakeView.java

     目录          0  2015-10-21 15:10  gluttonousSnake\bin\cn\itcast\snake

     目录          0  2015-10-21 15:10  gluttonousSnake\src\cn\itcast\snake

     目录          0  2015-10-21 15:10  gluttonousSnake\bin\cn\itcast

     目录          0  2015-10-21 15:10  gluttonousSnake\src\cn\itcast

     目录          0  2015-10-21 15:10  gluttonousSnake\bin\cn

     目录          0  2015-10-21 15:10  gluttonousSnake\src\cn

     目录          0  2015-10-21 15:10  gluttonousSnake\.settings

     目录          0  2015-10-21 15:10  gluttonousSnake\bin

     目录          0  2015-10-21 15:10  gluttonousSnake\src

     目录          0  2015-10-21 15:10  gluttonousSnake

----------- ---------  ---------- -----  ----

                22962                    22


评论

共有 条评论