コード例 #1
0
ファイル: Util.cs プロジェクト: sapui5-in/Games
 public static string GetGhorTypeFromEnum(GhorType ghorType)
 {
     if (ghorType == GhorType.Star)
     {
         return("Star");
     }
     else if (ghorType == GhorType.Home)
     {
         return("Home");
     }
     else if (ghorType == GhorType.Normal)
     {
         return("Normal");
     }
     else
     {
         return("FinalLine");
     }
 }
コード例 #2
0
 public Ghor(int position, GhorType ghorType)
 {
     Position = position;
     GhorType = ghorType;
 }