資源簡介
可以直接運行的java代碼,朱福喜的實訓書上的,需要的請拿去
代碼片段和文件信息
/**
?*?File:?ControlPanel.java
?*?User:?Administrator
?*?Date:?Dec?15?2004
?*?Describe:?俄羅斯方塊游戲的控制部分的實現
?*/
package?game;
import?java.awt.BorderLayout;
import?java.awt.Color;
import?java.awt.Graphics;
import?java.awt.GridLayout;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?java.awt.event.KeyAdapter;
import?java.awt.event.KeyEvent;
import?javax.swing.JButton;
import?javax.swing.JLabel;
import?javax.swing.JPanel;
import?javax.swing.JTextField;
import?javax.swing.Timer;
import?javax.swing.border.Border;
import?javax.swing.border.EtchedBorder;
/**
?*?控制面板類,繼承JPanel.?上邊安放預顯即將出現的方塊類型的窗口、難度級別、得分、控制按鈕?主要用來控制游戲進程。
?*/
class?ControlPanel?extends?JPanel?{
//?用一個文本域顯示難度級別
private?JTextField?tfLevel?=?new?JTextField(““
+?ErsBloc
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????403??2011-09-29?21:25??俄羅斯對戰標準代碼\.project
?????文件????????232??2006-05-12?23:40??俄羅斯對戰標準代碼\.classpath
?????文件????????341??2006-05-23?22:56??俄羅斯對戰標準代碼\.fatjar
?????文件???????1310??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameServerSocketSet$1.class
?????文件????????748??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameServerSocketSet$2.class
?????文件???????4716??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameServerSocketSet.class
?????文件???????2811??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameHardSet.class
?????文件????????700??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameHardSet$1.class
?????文件???????1100??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameHardSet$isOk.class
?????文件???????2259??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameExitSet.class
?????文件????????705??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameExitSet$1.class
?????文件????????807??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameExitSet$isno.class
?????文件????????825??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameExitSet$isok.class
?????文件???????1380??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameControlkeySet$RIGHTkey.class
?????文件???????1374??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameControlkeySet$DOWNkey.class
?????文件????????736??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameControlkeySet$1.class
?????文件???????1374??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameControlkeySet$LEFTkey.class
?????文件???????1366??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameControlkeySet$UPkey.class
?????文件????????859??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameControlkeySet$Click.class
?????文件???????5202??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameControlkeySet.class
?????文件????????742??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameClienSocketSet$1.class
?????文件???????3655??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\gameset\GameClienSocketSet.class
?????文件????????663??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\GameMenu$1.class
?????文件???????5217??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\GameMenu.class
?????文件???????4967??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\GameCanvas.class
?????文件???????1120??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\ErsBox.class
?????文件???????6944??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\ErsBlocksGame.class
?????文件????????694??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\ErsBlocksGame$1.class
?????文件???????5241??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\ErsBlocksGame$Game.class
?????文件???????5431??2011-10-22?22:08??俄羅斯對戰標準代碼\bin\game\ErsBlock.class
............此處省略34個文件信息
- 上一篇:交通規劃系統
- 下一篇:頁面置換算法模擬程序JAVA
評論
共有 條評論