搜索资源列表
j2me开发华容道
- 学生的毕业作品 用JAVA开发的华容道游戏 有完整的文档说明 有一定的参考价值-students graduate work with Java Puzzle development of a comprehensive document to explain the reference value
Huaronggame
- 我国传统游戏,华容道游戏,通过上下箭头控制棋子的走向,直到曹操走出华容道,游戏结束。-Chinese traditional games, Huarong game piece through the upper and lower control the direction of the arrow until Cao Cao out of Huarong, the end game.
95
- 编程思路:本练习因为要实现华容道游戏中人物的构造,所以首先要生成表示人物的矩形块,这是通过语句Rectangle rect=null实例化Rectangle类,然后在People类的构造函数里通过语句rect=new Rectangle(x,y,w,h)实现有戏中人物的构造。然后因为要实现人机交互的效果,所以要响应当前光标的焦点事件,通过public void focusGained(FocusEvent e)函数得到焦点,通过public void focusLost(FocusEvent e