private void CheckUseLuteRodSanity(int x, int y, SCBitFlags check, ObjectId plate) { if ((CFlags & SCMapCheckFlags.NoUseTiles) > 0) { return; } if (tileSet.Tiles[map[y - 1, x]].SpBitFlags == check) { return; } if (tileSet.Tiles[map[y + 1, x]].SpBitFlags == check) { return; } if (tileSet.Tiles[map[y, x - 1]].SpBitFlags == check) { return; } if (tileSet.Tiles[map[y, x + 1]].SpBitFlags == check) { return; } throw new NopeException(MapId, "There is no " + check.ToString() + " tile next to " + plate.ToString()); }
public override string ToString() { return(ExtFlags[0].ToString("X") + ":" + Tile.ToString("X")); }