private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xAF3); case RugPiece.Bottom: return(0xAF5); case RugPiece.Left: return(0xAF2); case RugPiece.Right: return(0xAF4); case RugPiece.TopLeft: return(0xAEF); case RugPiece.TopRight: return(0xAF1); case RugPiece.BottomLeft: return(0xAF0); case RugPiece.BottomRight: return(0xAEE); default: return(0xAED); } }
private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xAF7); case RugPiece.Bottom: return(0xAF9); case RugPiece.Left: return(0xAF6); case RugPiece.Right: return(0xAF8); case RugPiece.TopLeft: return(0xAC3); case RugPiece.TopRight: return(0xAC5); case RugPiece.BottomLeft: return(0xAC4); case RugPiece.BottomRight: return(0xAC2); default: return(0xABD); } }
private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xAE0); case RugPiece.Bottom: return(0xAE2); case RugPiece.Left: return(0xADF); case RugPiece.Right: return(0xAE1); case RugPiece.TopLeft: return(0xADC); case RugPiece.TopRight: return(0xADE); case RugPiece.BottomLeft: return(0xADD); case RugPiece.BottomRight: return(0xADB); default: return(0xADA); } }
private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xAB4); case RugPiece.Bottom: return(0xAB6); case RugPiece.Left: return(0xAB7); case RugPiece.Right: return(0xAB5); case RugPiece.TopLeft: return(0xAB8); case RugPiece.TopRight: return(0xAB9); case RugPiece.BottomLeft: return(0xABB); case RugPiece.BottomRight: return(0xABA); default: return(0xAB3); } }
private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xAE8); case RugPiece.Bottom: return(0xAEA); case RugPiece.Left: return(0xAE7); case RugPiece.Right: return(0xAE9); case RugPiece.TopLeft: return(0xAE4); case RugPiece.TopRight: return(0xAE6); case RugPiece.BottomLeft: return(0xAE5); case RugPiece.BottomRight: return(0xAE3); default: return(0xAEB); } }
private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xACE); case RugPiece.Bottom: return(0xAD0); case RugPiece.Left: return(0xACD); case RugPiece.Right: return(0xACF); case RugPiece.TopLeft: return(0xACA); case RugPiece.TopRight: return(0xACC); case RugPiece.BottomLeft: return(0xAcB); case RugPiece.BottomRight: return(0xAC9); default: return(0xAC6); } }
private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xAAA); case RugPiece.Bottom: return(0xAAC); case RugPiece.Left: return(0xAAD); case RugPiece.Right: return(0xAAB); case RugPiece.TopLeft: return(0xAAE); case RugPiece.TopRight: return(0xAAF); case RugPiece.BottomLeft: return(0xAB1); case RugPiece.BottomRight: return(0xAB0); default: return(0xAA9); } }
private int RugPieceId(RugPiece whichPiece) { switch (whichPiece) { case RugPiece.Top: return(0xAD7); case RugPiece.Bottom: return(0xAD9); case RugPiece.Left: return(0xAD6); case RugPiece.Right: return(0xAD8); case RugPiece.TopLeft: return(0xAD3); case RugPiece.TopRight: return(0xAD5); case RugPiece.BottomLeft: return(0xAD4); case RugPiece.BottomRight: return(0xAD2); default: return(0xAD1); } }
private int RugPieceId(CarpetType whichCarpet, RugPiece whichPiece) { switch (whichCarpet) { case CarpetType.Plain1: switch (whichPiece) { case RugPiece.Top: return(0xAAA); case RugPiece.Bottom: return(0xAAC); case RugPiece.Left: return(0xAAD); case RugPiece.Right: return(0xAAB); case RugPiece.TopLeft: return(0xAAE); case RugPiece.TopRight: return(0xAAF); case RugPiece.BottomLeft: return(0xAB1); case RugPiece.BottomRight: return(0xAB0); default: return(0xAA9); } case CarpetType.Plain2: switch (whichPiece) { case RugPiece.Top: return(0xAB4); case RugPiece.Bottom: return(0xAB6); case RugPiece.Left: return(0xAB7); case RugPiece.Right: return(0xAB5); case RugPiece.TopLeft: return(0xAB8); case RugPiece.TopRight: return(0xAB9); case RugPiece.BottomLeft: return(0xABB); case RugPiece.BottomRight: return(0xABA); default: return(0xAB3); } case CarpetType.Red1: switch (whichPiece) { case RugPiece.Top: return(0xACE); case RugPiece.Bottom: return(0xAD0); case RugPiece.Left: return(0xACD); case RugPiece.Right: return(0xACF); case RugPiece.TopLeft: return(0xACA); case RugPiece.TopRight: return(0xACC); case RugPiece.BottomLeft: return(0xAcB); case RugPiece.BottomRight: return(0xAC9); default: return(0xAC8); } case CarpetType.Red2: switch (whichPiece) { case RugPiece.Top: return(0xACE); case RugPiece.Bottom: return(0xAD0); case RugPiece.Left: return(0xACD); case RugPiece.Right: return(0xACF); case RugPiece.TopLeft: return(0xACA); case RugPiece.TopRight: return(0xACC); case RugPiece.BottomLeft: return(0xAcB); case RugPiece.BottomRight: return(0xAC9); default: return(0xAC6); } case CarpetType.Red3: switch (whichPiece) { case RugPiece.Top: return(0xACE); case RugPiece.Bottom: return(0xAD0); case RugPiece.Left: return(0xACD); case RugPiece.Right: return(0xACF); case RugPiece.TopLeft: return(0xACA); case RugPiece.TopRight: return(0xACC); case RugPiece.BottomLeft: return(0xAcB); case RugPiece.BottomRight: return(0xAC9); default: return(0xAC7); } case CarpetType.Blue1: switch (whichPiece) { case RugPiece.Top: return(0xAF7); case RugPiece.Bottom: return(0xAF9); case RugPiece.Left: return(0xAF6); case RugPiece.Right: return(0xAF8); case RugPiece.TopLeft: return(0xAC3); case RugPiece.TopRight: return(0xAC5); case RugPiece.BottomLeft: return(0xAC4); case RugPiece.BottomRight: return(0xAC2); default: return(0xABE); } case CarpetType.Blue2: switch (whichPiece) { case RugPiece.Top: return(0xAF7); case RugPiece.Bottom: return(0xAF9); case RugPiece.Left: return(0xAF6); case RugPiece.Right: return(0xAF8); case RugPiece.TopLeft: return(0xAC3); case RugPiece.TopRight: return(0xAC5); case RugPiece.BottomLeft: return(0xAC4); case RugPiece.BottomRight: return(0xAC2); default: return(0xABD); } case CarpetType.Blue3: switch (whichPiece) { case RugPiece.Top: return(0xAF7); case RugPiece.Bottom: return(0xAF9); case RugPiece.Left: return(0xAF6); case RugPiece.Right: return(0xAF8); case RugPiece.TopLeft: return(0xAC3); case RugPiece.TopRight: return(0xAC5); case RugPiece.BottomLeft: return(0xAC4); case RugPiece.BottomRight: return(0xAC2); default: return(0xABF); } case CarpetType.Fancy1: switch (whichPiece) { case RugPiece.Top: return(0xAD7); case RugPiece.Bottom: return(0xAD9); case RugPiece.Left: return(0xAD6); case RugPiece.Right: return(0xAD8); case RugPiece.TopLeft: return(0xAD3); case RugPiece.TopRight: return(0xAD5); case RugPiece.BottomLeft: return(0xAD4); case RugPiece.BottomRight: return(0xAD2); default: return(0xAD1); } case CarpetType.Fancy2: switch (whichPiece) { case RugPiece.Top: return(0xAE0); case RugPiece.Bottom: return(0xAE2); case RugPiece.Left: return(0xADF); case RugPiece.Right: return(0xAE1); case RugPiece.TopLeft: return(0xADC); case RugPiece.TopRight: return(0xADE); case RugPiece.BottomLeft: return(0xADD); case RugPiece.BottomRight: return(0xADB); default: return(0xADA); } case CarpetType.Fancy3: switch (whichPiece) { case RugPiece.Top: return(0xAE8); case RugPiece.Bottom: return(0xAEA); case RugPiece.Left: return(0xAE7); case RugPiece.Right: return(0xAE9); case RugPiece.TopLeft: return(0xAE4); case RugPiece.TopRight: return(0xAE6); case RugPiece.BottomLeft: return(0xAE5); case RugPiece.BottomRight: return(0xAE3); default: return(0xAEB); } case CarpetType.Fancy4: switch (whichPiece) { case RugPiece.Top: return(0xAF3); case RugPiece.Bottom: return(0xAF5); case RugPiece.Left: return(0xAF2); case RugPiece.Right: return(0xAF4); case RugPiece.TopLeft: return(0xAEF); case RugPiece.TopRight: return(0xAF1); case RugPiece.BottomLeft: return(0xAF0); case RugPiece.BottomRight: return(0xAEE); default: return(0xAEC); } case CarpetType.Fancy5: switch (whichPiece) { case RugPiece.Top: return(0xAF3); case RugPiece.Bottom: return(0xAF5); case RugPiece.Left: return(0xAF2); case RugPiece.Right: return(0xAF4); case RugPiece.TopLeft: return(0xAEF); case RugPiece.TopRight: return(0xAF1); case RugPiece.BottomLeft: return(0xAF0); case RugPiece.BottomRight: return(0xAEE); default: return(0xAED); } default: return(1); } }