Yay for {@code}!

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1046 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2010-11-08 19:16:18 +00:00
parent 63a26726d1
commit aacf7fab4b
@@ -38,21 +38,21 @@ import static com.threerings.media.Log.log;
* Parses {@link SwissArmyTileSet} instances from a tileset description. A * Parses {@link SwissArmyTileSet} instances from a tileset description. A
* swiss army tileset description looks like so: * swiss army tileset description looks like so:
* *
* <pre> * {@code
* &lt;tileset name="Sample Swiss Army Tileset"&gt; * <tileset name="Sample Swiss Army Tileset">
* &lt;imagePath&gt;path/to/image.png&lt;/imagePath&gt; * <imagePath>path/to/image.png</imagePath>
* &lt;!-- the widths (per row) of each tile in pixels --&gt; * <!-- the widths (per row) of each tile in pixels -->
* &lt;widths&gt;64, 64, 64, 64&lt;/widths&gt; * <widths>64, 64, 64, 64</widths>
* &lt;!-- the heights (per row) of each tile in pixels --&gt; * <!-- the heights (per row) of each tile in pixels -->
* &lt;heights&gt;48, 48, 48, 64&lt;/heights&gt; * <heights>48, 48, 48, 64</heights>
* &lt;!-- the number of tiles in each row --&gt; * <!-- the number of tiles in each row -->
* &lt;tileCounts&gt;16, 5, 3, 10&lt;/tileCounts&gt; * <tileCounts>16, 5, 3, 10</tileCounts>
* &lt;!-- the offset in pixels to the upper left tile --&gt; * <!-- the offset in pixels to the upper left tile -->
* &lt;offsetPos&gt;8, 8&lt;/offsetPos&gt; * <offsetPos>8, 8</offsetPos>
* &lt;!-- the gap between tiles in pixels --&gt; * <!-- the gap between tiles in pixels -->
* &lt;gapSize&gt;12, 12&lt;/gapSize&gt; * <gapSize>12, 12</gapSize>
* &lt;/tileset&gt; * </tileset>
* </pre> * }
*/ */
public class SwissArmyTileSetRuleSet extends TileSetRuleSet public class SwissArmyTileSetRuleSet extends TileSetRuleSet
{ {