示例#1
0
 public static HexFacing Apply(this HexFacing facing, HexRotation rot)
 {
     if (facing == HexFacing.bad)
     {
         return(HexFacing.bad);
     }
     else
     {
         return((HexFacing)NumUtil.WrapPos((int)facing - rot.CWcount, 6));
     }
 }