資源簡介
JAVA awt 炸彈人

代碼片段和文件信息
import?java.awt.Dimension;
import?java.awt.frame;
import?java.awt.event.WindowAdapter;
import?java.awt.event.WindowEvent;
import?java.lang.reflect.InvocationTargetException;
import?javax.swing.Jframe;
import?moudle.GameWorld;
import?org.omg.PortableServer.POAPackage.WrongAdapter;
?
/**
?*?
?*/
/**
?*?@author?Jack?Lei
?@Time?下午10:34:39?2016年1月4日
?*
?*/
public?class?Main?extends?frame?{
/**
?*?
?*/
private?static?final?long?serialVersionUID?=?1L;
public?Main(){
settitle(“炸彈人“);
setSize(720748);
setResizable(false);
setLocationRelativeTo(this);
add(GameWorld.getInstance());
addWindowListener(?new?WindowAdapter()?{
?
/*?(non-Javadoc)
?*?@see?java.awt.event.WindowAdapter#windowClosing(java.awt.event.WindowEvent)
?*/
@Override
public?void?windowClosing(WindowEvent?e)?{
//?TODO?Auto-generated?method?stub
System.exit(0);
}
?
});
setVisible(true);
}
public?static?void?main(String?args[])?throws?InvocationTargetException?InterruptedException{
java.awt.EventQueue.invokeAndWait(new?Runnable()?{
@Override
public?void?run()?{
//?TODO?Auto-generated?method?stub
new?Main();
}
});
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-01-09?22:07??BombGame\
?????文件?????????301??2016-01-09?22:07??BombGame\.classpath
?????文件?????????384??2016-01-09?22:07??BombGame\.project
?????目錄???????????0??2016-01-09?22:07??BombGame\.settings\
?????文件?????????598??2016-01-09?22:07??BombGame\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2016-01-09?22:07??BombGame\bin\
?????目錄???????????0??2016-01-09?22:07??BombGame\bin\action\
?????文件?????????980??2016-01-09?22:07??BombGame\bin\action\GEnemyDrawer.class
?????文件?????????977??2016-01-09?22:07??BombGame\bin\action\GEnemyMover.class
?????文件?????????878??2016-01-09?22:07??BombGame\bin\action\GMapDrawer.class
?????文件?????????983??2016-01-09?22:07??BombGame\bin\action\GPla
?????文件?????????902??2016-01-09?22:07??BombGame\bin\action\GPla
?????文件????????1184??2016-01-09?22:07??BombGame\bin\action\GSceneDrawer.class
?????文件?????????887??2016-01-09?22:07??BombGame\bin\action\GWeaponDrawer.class
?????目錄???????????0??2016-01-09?22:07??BombGame\bin\core\
?????文件????????1856??2016-01-09?22:07??BombGame\bin\core\Gameob
?????文件????????1021??2016-01-09?22:07??BombGame\bin\core\Gameob
?????文件?????????751??2016-01-09?22:07??BombGame\bin\core\GameRunnabel.class
?????文件????????1048??2016-01-09?22:07??BombGame\bin\core\GameState.class
?????文件?????????223??2016-01-09?22:07??BombGame\bin\core\IDrawAction.class
?????文件?????????223??2016-01-09?22:07??BombGame\bin\core\IMoveAction.class
?????文件?????????190??2016-01-09?22:07??BombGame\bin\core\IState.class
?????目錄???????????0??2016-01-09?22:07??BombGame\bin\img\
?????文件????????2042??2016-01-09?22:07??BombGame\bin\img\block.png
?????文件????????3172??2016-01-09?22:07??BombGame\bin\img\bomb.png
?????文件????????4968??2016-01-09?22:07??BombGame\bin\img\boom.png
?????文件????????6921??2016-01-09?22:07??BombGame\bin\img\fire.png
?????文件????????5051??2016-01-09?22:07??BombGame\bin\img\foemans1.png
?????文件????????3343??2016-01-09?22:07??BombGame\bin\img\item_bom.png
?????文件????????3580??2016-01-09?22:07??BombGame\bin\img\item_fire.png
?????文件????????3509??2016-01-09?22:07??BombGame\bin\img\item_foot.png
............此處省略110個文件信息
- 上一篇:山東大學數據結構課程設計
- 下一篇:JAVA潛艇大戰小游戲源碼
評論
共有 條評論