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:
@@ -38,21 +38,21 @@ import static com.threerings.media.Log.log;
|
||||
* Parses {@link SwissArmyTileSet} instances from a tileset description. A
|
||||
* swiss army tileset description looks like so:
|
||||
*
|
||||
* <pre>
|
||||
* <tileset name="Sample Swiss Army Tileset">
|
||||
* <imagePath>path/to/image.png</imagePath>
|
||||
* <!-- the widths (per row) of each tile in pixels -->
|
||||
* <widths>64, 64, 64, 64</widths>
|
||||
* <!-- the heights (per row) of each tile in pixels -->
|
||||
* <heights>48, 48, 48, 64</heights>
|
||||
* <!-- the number of tiles in each row -->
|
||||
* <tileCounts>16, 5, 3, 10</tileCounts>
|
||||
* <!-- the offset in pixels to the upper left tile -->
|
||||
* <offsetPos>8, 8</offsetPos>
|
||||
* <!-- the gap between tiles in pixels -->
|
||||
* <gapSize>12, 12</gapSize>
|
||||
* </tileset>
|
||||
* </pre>
|
||||
* {@code
|
||||
* <tileset name="Sample Swiss Army Tileset">
|
||||
* <imagePath>path/to/image.png</imagePath>
|
||||
* <!-- the widths (per row) of each tile in pixels -->
|
||||
* <widths>64, 64, 64, 64</widths>
|
||||
* <!-- the heights (per row) of each tile in pixels -->
|
||||
* <heights>48, 48, 48, 64</heights>
|
||||
* <!-- the number of tiles in each row -->
|
||||
* <tileCounts>16, 5, 3, 10</tileCounts>
|
||||
* <!-- the offset in pixels to the upper left tile -->
|
||||
* <offsetPos>8, 8</offsetPos>
|
||||
* <!-- the gap between tiles in pixels -->
|
||||
* <gapSize>12, 12</gapSize>
|
||||
* </tileset>
|
||||
* }
|
||||
*/
|
||||
public class SwissArmyTileSetRuleSet extends TileSetRuleSet
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user