資源簡介
推箱子游戲
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;
namespace?推箱子游戲
{
????public?partial?class?Form1?:?Form
????{
????????
????private?int?x;???????//工人當前位置(xy)
????private?int?y;
????//private?bool?flag?=?true;
????//0代表墻,1代表人,2代表箱子,3代表路,4代表目的地
????//5代表人在目的地,6代表放到目的地的箱子
????private?enum?Map_State?{None=-1Wall?=?0?Worker?
????????Box?Passageway?DestinationWorkerInDestRedBox?};
????private?Map_State[]?myArray;
????//private?int[]?my;
????private?int?Order?=?1;?????????????//游戲關的序號
????public?Form1()
????{
????????InitializeComponent();
????}
????private?void?ReadMap(int?n)
????{
????????string?filename?=?“map\\map_“?+?n.ToS
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????3158??2007-12-15?22:40??第4章?推箱子游戲2.0\推箱子游戲\1381Game.ico
?????文件??????29789??2001-08-02?00:01??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\background.jpg
?????文件??????13121??2007-07-05?20:58??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\backimg\1.jpg
?????文件??????14063??2007-07-05?20:58??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\backimg\2.jpg
?????文件??????14742??2007-07-05?20:58??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\backimg\3.jpg
?????文件??????14054??2007-07-05?20:59??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\backimg\4.jpg
?????文件??????15774??2007-07-05?20:59??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\backimg\5.jpg
????..A.SH.?????13824??2009-01-11?10:20??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\backimg\Thumbs.db
?????文件????????483??2001-06-05?21:51??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\box.gif
?????文件????????338??2001-06-05?21:50??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Destination.gif
?????文件????????300??2001-06-05?21:53??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\down.gif
?????文件????????291??2001-06-05?21:52??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\left.gif
?????文件?????????49??2008-12-01?11:07??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Map\map_1.info
?????文件?????????49??2008-12-01?11:56??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Map\map_2.info
?????文件?????????49??2008-12-01?12:00??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Map\map_3.info
?????文件?????????49??2009-01-11?10:21??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Map\map_4.info
?????文件?????????49??2009-01-11?10:21??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Map\map_5.info
?????文件?????????49??2009-01-12?11:41??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Map\map_6.info
?????文件???????3126??2008-12-01?10:15??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\new.bmp
?????文件????????492??2001-06-05?17:26??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\passageway.gif
?????文件????????426??2001-06-05?21:50??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\redbox.gif
?????文件????????291??2001-06-05?21:52??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\right.gif
?????文件???????2906??2008-12-01?10:16??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\save.bmp
????..A.SH.?????45568??2009-01-12?11:51??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\Thumbs.db
?????文件????????297??2001-06-05?21:53??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\up.gif
?????文件???????1029??2001-06-05?17:26??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\wall.gif
?????文件????????291??2001-06-05?21:52??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\worker.gif
?????文件??????29184??2019-03-13?08:55??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\推箱子游戲.exe
?????文件??????67072??2019-03-13?08:55??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\推箱子游戲.pdb
?????文件??????11608??2019-03-13?08:56??第4章?推箱子游戲2.0\推箱子游戲\bin\Debug\推箱子游戲.vshost.exe
............此處省略50個文件信息
- 上一篇:中國象棋C#(wpf)源碼
- 下一篇:WPF圖片局部放大(zoom方法預覽)
評論
共有 條評論