Mahjong.Brands.WordBrand.getClass C# (CSharp) Method

getClass() public method

�P�����O
public getClass ( ) : string
return string
        public string getClass()
        {
            return Mahjong.Properties.Settings.Default.Wordtiles;
        }

Usage Example

示例#1
0
文件: Tally.cs 项目: billteng/mahjong
 void west()
 {
     WordBrand w = new WordBrand(0);
     for (int i = 0; i < y.getCount() - 2; i++)
         if (y.getBrand(i).getClass() == w.getClass() && y.getBrand(i).getNumber() == 3 && y.getBrand(i + 1).getClass() == w.getClass() && y.getBrand(i + 1).getNumber() == 3 && y.getBrand(i + 2).getClass() == w.getClass() && y.getBrand(i + 2).getNumber() == 3)
         {
             if (i < y.getCount() - 3 && y.getBrand(i + 3).getClass() == w.getClass() && y.getBrand(i + 3).getNumber() == 3)
                 i+=3;
             temp += 1;
             if (all.State == location.West)
             {
                 textBox1.Text += "�護��\r\n";
                 tally += 1;
             }
             if (l.Round == location.West)
             {
                 textBox1.Text += "�護��\r\n";
                 tally += 1;
             }
         }
         else if (y.getBrand(i).getClass() == w.getClass() && y.getBrand(i).getNumber() == 3 && y.getBrand(i + 1).getClass() == w.getClass() && y.getBrand(i + 1).getNumber() == 3)
         {
             index = true;
         }
     //tally += 1;
 }
All Usage Examples Of Mahjong.Brands.WordBrand::getClass