資源簡介
C# 坦克大戰(zhàn) 游戲源碼下載
代碼片段和文件信息
using?System.Drawing;
//add
//add
namespace?坦克
{
????internal?class?bullet
????{
????????private?readonly?bool?type;?//己方子彈true敵方子彈false
????????private?int?direct;?//子彈行進(jìn)方向
????????private?int?height?=?32;
????????private?int?left;
????????private?int?top;?//子彈坐標(biāo)(TopLeft)
????????private?int?width?=?32;
????????public?bullet(int?type)?//?子彈類構(gòu)造函數(shù)
????????{
????????????if?(type?==?6)?//己方
????????????????this.type?=?true;
????????????else
????????????????this.type?=?false;
????????}
????????public?int?Top?//Top屬性
????????{
????????????get?{?return?top;?}
????????????set?{?top?=?value;?}
????????}
????????public?int?Left?//Left屬性
????????{
????????????get?{?return?left;?}
????????????set?{?left?=?value;?}
????????}
????????public?int?Direct?//Dir
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-06-12?17:17??坦克大戰(zhàn)\
?????文件?????????887??2008-08-25?20:31??坦克大戰(zhàn)\ClassDiagram2.cd
?????文件????????4249??2011-07-04?06:59??坦克大戰(zhàn)\Form1.Designer.cs
?????文件????????9841??2016-06-12?17:17??坦克大戰(zhàn)\Form1.cs
?????文件????????6376??2016-06-12?17:17??坦克大戰(zhàn)\Form1.resx
?????文件?????????602??2012-08-20?12:35??坦克大戰(zhàn)\PlaySound.cs
?????文件?????????449??2012-08-20?12:35??坦克大戰(zhàn)\Program.cs
?????目錄???????????0??2016-06-12?17:12??坦克大戰(zhàn)\Properties\
?????文件????????1150??2012-08-20?12:35??坦克大戰(zhàn)\Properties\AssemblyInfo.cs
?????文件????????2840??2012-08-20?12:30??坦克大戰(zhàn)\Properties\Resources.Designer.cs
?????文件????????5957??2008-08-06?19:58??坦克大戰(zhàn)\Properties\Resources.resx
?????文件????????1089??2012-08-20?12:30??坦克大戰(zhàn)\Properties\Settings.Designer.cs
?????文件?????????249??2012-08-20?12:32??坦克大戰(zhàn)\Properties\Settings.settings
?????文件????????6643??2012-08-20?12:35??坦克大戰(zhàn)\Tank.cs
?????文件???????22486??2007-12-22?09:05??坦克大戰(zhàn)\Tank.ico
?????文件?????????207??2012-08-20?12:32??坦克大戰(zhàn)\TankMap.cs
?????目錄???????????0??2016-06-12?17:12??坦克大戰(zhàn)\bin\
?????目錄???????????0??2016-06-12?17:14??坦克大戰(zhàn)\bin\Debug\
?????目錄???????????0??2016-06-12?17:12??坦克大戰(zhàn)\bin\Debug\bmp\
?????文件?????????822??2001-08-14?00:37??坦克大戰(zhàn)\bin\Debug\bmp\DX.BMP
?????文件????????9270??2001-08-15?00:57??坦克大戰(zhàn)\bin\Debug\bmp\ETANK1.BMP
?????文件????????9270??2001-08-15?01:07??坦克大戰(zhàn)\bin\Debug\bmp\ETANK2.BMP
?????文件????????9270??2001-08-15?01:11??坦克大戰(zhàn)\bin\Debug\bmp\ETANK3.BMP
?????文件????????9270??2001-08-15?01:16??坦克大戰(zhàn)\bin\Debug\bmp\ETANK4.BMP
?????文件????????9270??1999-12-01?17:05??坦克大戰(zhàn)\bin\Debug\bmp\MYTANK.BMP
?????文件?????????822??2001-08-14?00:39??坦克大戰(zhàn)\bin\Debug\bmp\TQ.BMP
?????文件?????????566??2000-02-07?20:21??坦克大戰(zhàn)\bin\Debug\bmp\explode1.bmp
?????文件????????5174??2000-02-08?21:03??坦克大戰(zhàn)\bin\Debug\bmp\explode2.bmp
?????文件????????2906??2008-08-07?22:12??坦克大戰(zhàn)\bin\Debug\bmp\missile1.bmp
?????文件????????2906??2008-08-08?05:38??坦克大戰(zhàn)\bin\Debug\bmp\missile2.bmp
?????文件???????13970??1999-04-12?15:52??坦克大戰(zhàn)\bin\Debug\bmp\tankD.bmp
............此處省略46個文件信息
- 上一篇:C#_DirextX游戲編程基礎(chǔ)
- 下一篇:C#俄羅斯方塊
評論
共有 條評論