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
|
* 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
|
||||||
* <tileset name="Sample Swiss Army Tileset">
|
* <tileset name="Sample Swiss Army Tileset">
|
||||||
* <imagePath>path/to/image.png</imagePath>
|
* <imagePath>path/to/image.png</imagePath>
|
||||||
* <!-- the widths (per row) of each tile in pixels -->
|
* <!-- the widths (per row) of each tile in pixels -->
|
||||||
* <widths>64, 64, 64, 64</widths>
|
* <widths>64, 64, 64, 64</widths>
|
||||||
* <!-- the heights (per row) of each tile in pixels -->
|
* <!-- the heights (per row) of each tile in pixels -->
|
||||||
* <heights>48, 48, 48, 64</heights>
|
* <heights>48, 48, 48, 64</heights>
|
||||||
* <!-- the number of tiles in each row -->
|
* <!-- the number of tiles in each row -->
|
||||||
* <tileCounts>16, 5, 3, 10</tileCounts>
|
* <tileCounts>16, 5, 3, 10</tileCounts>
|
||||||
* <!-- the offset in pixels to the upper left tile -->
|
* <!-- the offset in pixels to the upper left tile -->
|
||||||
* <offsetPos>8, 8</offsetPos>
|
* <offsetPos>8, 8</offsetPos>
|
||||||
* <!-- the gap between tiles in pixels -->
|
* <!-- the gap between tiles in pixels -->
|
||||||
* <gapSize>12, 12</gapSize>
|
* <gapSize>12, 12</gapSize>
|
||||||
* </tileset>
|
* </tileset>
|
||||||
* </pre>
|
* }
|
||||||
*/
|
*/
|
||||||
public class SwissArmyTileSetRuleSet extends TileSetRuleSet
|
public class SwissArmyTileSetRuleSet extends TileSetRuleSet
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user