資源簡介
用面向對象的方法實現的俄羅斯方塊
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
namespace?erLuoSiFangKuai
{
????public?class?BarH:Shape
????{
?????????public?BarH(int?Xint?Y)
????????{
????????????int?w?=?ShapeContainer.boxWidth;
????????????int?h?=?ShapeContainer.boxHeight;
????????????boxs.Add(new?BoxB(X?Y?w?h));
????????????boxs.Add(new?BoxB(?X+?w?Y?w?h));
????????????boxs.Add(new?BoxB(X?+?2*w?Y?w?h));
????????????boxs.Add(new?BoxB(X?+?3*w?Y?w?h));
????????}
?????????public?override?Shape?changeShape(Wall?wall)
?????????{
?????????????int?X?=?boxs.ElementAt(1).getX();
?????????????int?Y?=?boxs.ElementAt(1).getY()?-?ShapeContainer.boxHeight;
?????????????Shape?barv?=?BarV.getBarV(XYwall);
?????????????????return?barv;
?????????}
????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1336??2014-05-15?10:49??erLuoSiFangKuai\BarH.cs
?????文件???????1327??2014-05-15?10:49??erLuoSiFangKuai\BarV.cs
?????文件??????33792??2014-05-15?10:50??erLuoSiFangKuai\bin\Debug\erLuoSiFangKuai.exe
?????文件?????110080??2014-05-15?10:50??erLuoSiFangKuai\bin\Debug\erLuoSiFangKuai.pdb
?????文件??????11600??2014-05-15?10:24??erLuoSiFangKuai\bin\Debug\erLuoSiFangKuai.vshost.exe
?????文件????????490??2010-03-17?22:39??erLuoSiFangKuai\bin\Debug\erLuoSiFangKuai.vshost.exe.manifest
?????文件???????1429??2014-05-15?10:50??erLuoSiFangKuai\Box.cs
?????文件????????485??2014-05-15?10:45??erLuoSiFangKuai\BoxB.cs
?????文件????????701??2014-04-25?16:07??erLuoSiFangKuai\BoxComparer.cs
?????文件????????502??2014-05-15?10:46??erLuoSiFangKuai\BoxL.cs
?????文件????????501??2014-05-15?10:46??erLuoSiFangKuai\BoxR.cs
?????文件????????482??2014-05-15?10:44??erLuoSiFangKuai\BoxT.cs
?????文件???????5037??2014-05-15?10:49??erLuoSiFangKuai\erLuoSiFangKuai.csproj
?????文件???????3566??2014-05-15?00:03??erLuoSiFangKuai\Form1.cs
?????文件???????6292??2014-05-14?23:59??erLuoSiFangKuai\Form1.Designer.cs
?????文件???????6206??2014-05-14?23:59??erLuoSiFangKuai\Form1.resx
?????文件????????164??2014-04-24?14:28??erLuoSiFangKuai\GameWindow.cs
?????文件???????1437??2014-05-15?10:46??erLuoSiFangKuai\LShape1.cs
?????文件???????1337??2014-05-15?10:46??erLuoSiFangKuai\LShape2.cs
?????文件???????1433??2014-05-15?10:47??erLuoSiFangKuai\LShape3.cs
?????文件???????1450??2014-05-15?10:47??erLuoSiFangKuai\LShape4.cs
?????文件????????558??2014-05-11?16:16??erLuoSiFangKuai\MinShape.cs
?????文件???????4440??2014-04-24?10:06??erLuoSiFangKuai\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件???????6375??2014-05-15?10:50??erLuoSiFangKuai\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件????????877??2014-05-15?10:49??erLuoSiFangKuai\obj\x86\Debug\erLuoSiFangKuai.csproj.FileListAbsolute.txt
?????文件??????33792??2014-05-15?10:50??erLuoSiFangKuai\obj\x86\Debug\erLuoSiFangKuai.exe
?????文件????????180??2014-05-15?10:49??erLuoSiFangKuai\obj\x86\Debug\erLuoSiFangKuai.Form1.resources
?????文件?????110080??2014-05-15?10:50??erLuoSiFangKuai\obj\x86\Debug\erLuoSiFangKuai.pdb
?????文件???????6952??2014-05-15?10:49??erLuoSiFangKuai\obj\x86\Debug\erLuoSiFangKuai.Properties.Resources.resources
?????文件???????3854??2014-05-15?10:49??erLuoSiFangKuai\obj\x86\Debug\erLuoSiFangKuai.Resource1.resources
............此處省略37個文件信息
- 上一篇:C# TCPUDP 入門級socket編程
- 下一篇:wpf簡單打印
評論
共有 條評論