基于Java的Tank游戏单机版的设计分析——Tank的显示以及键盘事件的处理  

Design and Analysis of Java-based Single-user Tank Game——The Show of Tank and Treatment of Keyboard Incidents

在线阅读下载全文

作  者:燕红文[1] 

机构地区:[1]山西农业大学现代教育技术学院,太谷030801

出  处:《农业网络信息》2010年第6期134-136,145,共4页Agriculture Network Information

摘  要:介绍了Java语言的主要特征,对设计坦克游戏的双缓存机制做了详细研究,并且给出了具体的实现代码。游戏主要是由玩家通过键盘来控制的,所以文中对于键盘事件的处理做了原理性的论述,并且编写了键盘事件处理的关键代码。The main features of Java language were introduced.The principle of dual-cache mechanism was studied for a solution to the key tank show problem encountered during the design of tank games.While a specific code to achieve it was presented.The game is mainly played by the audience through the keyboard to control,therefore the principles of treating with the keyboard incidents was also illustrated with the provision of the key codes for handling keyboard events.

关 键 词:JAVA TANK 双缓存 键盘事件 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象