Access a tile specification by index number. @return a tile specification, or null if there is no tile with the given number
(int tileNumber)
| 93 | * with the given number |
| 94 | */ |
| 95 | public static TileSpec get(int tileNumber) |
| 96 | { |
| 97 | if (tileNumber >= 0 && tileNumber < tiles.length) { |
| 98 | return tiles[tileNumber]; |
| 99 | } |
| 100 | else { |
| 101 | return null; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | static void checkTiles() |
| 106 | { |
no outgoing calls
no test coverage detected