GreadySnake(MVC)

所属分类:游戏
开发工具:Java
文件大小:37KB
下载次数:28
上传日期:2006-01-12 19:44:58
上 传 者eprometheus
说明:  MVC设计模式早在面向对象语言Smalltalk-80中就被提出并在此后得到业界的广泛接受。它包括三类对象:(1)模型(Model)对象:是应用程序的主体部分。(2)视图(View)对象:是应用程序中负责生成用户界面的部分。(3)控制器(Control)对象:是根据用户的输入,控制用户界面数据显示及更新Model对象状态的部分。本程序尝试用MVC模式制作了一个简单的贪吃蛇游戏。
(MVC design patterns in object-oriented language Smalltalk-80 was raised on and thereafter the industry's widely accepted. It includes three types of objects : (1) model (Model) objects : application to the principal. (2) View (View) Object : is the application procedure for the generation part of the user interface. (3) controller (Control) Object : according to the input, the user interface control and update data objects Model of the state. The procedures to try to MVC model produced a simple game of Snake.)

文件列表:
GreadySnake(MVC)\FoodMaker.java (5473, 2004-09-13)
GreadySnake(MVC)\FoodModel.java (2007, 2004-09-13)
GreadySnake(MVC)\GreedySnake.java (1175, 2004-09-13)
GreadySnake(MVC)\MainFrame.java (9297, 2004-09-13)
GreadySnake(MVC)\MatrixModel.java (2372, 2004-09-13)
GreadySnake(MVC)\Painter.java (4330, 2004-09-13)
GreadySnake(MVC)\ScoreModel.java (1445, 2004-09-13)
GreadySnake(MVC)\SnakeControl.java (2897, 2004-09-13)
GreadySnake(MVC)\SnakeModel.java (8649, 2004-09-13)
GreadySnake(MVC) (0, 2006-01-12)

近期下载者

相关文件


收藏者