Description: Puzzle two Java source files, using a Java applet and awt in technology, mainly practiced hand. Written by some small game, so you learn more knowledge of Java applets, Java programming quickly into the hall. In this game, since the preparation of a character s class representatives Huarong, Huarong realize the characters in the game structure, Huarong draw boundaries, position and key tips to escape Cao Cao rules, click on the appropriate characters, and then press the keyboard the up and down arrows to move, and the other person or to determine whether the lower boundary overlap, the overlap would be returned if 50 units of distance. .
Programming ideas: To realize the structure of Huarong game characters, so the first character to generate said rectangular block, which is by the statement Rectangle rect = null instantiated Rectangle class, then class s constructor People by statements rect = new Rectangle (x, y, w, h) to achieve the structure Me characters. Then achieve the effect
To Search:
File list (Check if you may need any files):
练习95华容道(一)\HuaRongRoad.class
..................\HuaRongRoad.html
..................\HuaRongRoad.java
..................\People.class
..................\_desktop.ini
..................\练习95华容道(一).doc
.....6华容道(二)\HuaRongRoad.class
..................\HuaRongRoad.html
..................\HuaRongRoad.java
..................\People.class
..................\_desktop.ini
..................\练习96华容道(二).doc
练习95华容道(一)
练习96华容道(二)