diff --git a/src/main/java/com/threerings/media/tile/tools/xml/ObjectTileSetRuleSet.java b/src/main/java/com/threerings/media/tile/tools/xml/ObjectTileSetRuleSet.java index d1335cd7..acdcad0a 100644 --- a/src/main/java/com/threerings/media/tile/tools/xml/ObjectTileSetRuleSet.java +++ b/src/main/java/com/threerings/media/tile/tools/xml/ObjectTileSetRuleSet.java @@ -35,29 +35,29 @@ import com.threerings.media.tile.TileSet; * Parses {@link ObjectTileSet} instances from a tileset description. An * object tileset description looks like so: * - *
- * <tileset name="Sample Object Tileset">
- *   <imagePath>path/to/image.png</imagePath>
- *   <!-- the widths (per row) of each tile in pixels -->
- *   <widths>265</widths>
- *   <!-- the heights (per row) of each tile in pixels -->
- *   <heights>224</heights>
- *   <!-- the number of tiles in each row -->
- *   <tileCounts>4</tileCounts>
- *   <!-- the offset in pixels to the upper left tile -->
- *   <offsetPos>0, 0</offsetPos>
- *   <!-- the gap between tiles in pixels -->
- *   <gapSize>0, 0</gapSize>
- *   <!-- the widths (in unit tile count) of the objects -->
- *   <objectWidths>4, 3, 4, 3</objectWidths>
- *   <!-- the heights (in unit tile count) of the objects -->
- *   <objectHeights>3, 4, 3, 4</objectHeights>
- *   <!-- the default render priorities for these object tiles -->
- *   <priorities>0, 0, -1, 0</priorities>
- *   <!-- the constraints for these object tiles -->
- *   <constraints>ATTACH_N, ATTACH_E, ATTACH_S, ATTACH_W</constraints>
- * </tileset>
- * 
+ * {@code + * + * path/to/image.png + * + * 265 + * + * 224 + * + * 4 + * + * 0, 0 + * + * 0, 0 + * + * 4, 3, 4, 3 + * + * 3, 4, 3, 4 + * + * 0, 0, -1, 0 + * + * ATTACH_N, ATTACH_E, ATTACH_S, ATTACH_W + * + * } */ public class ObjectTileSetRuleSet extends SwissArmyTileSetRuleSet { diff --git a/src/main/java/com/threerings/media/tile/tools/xml/TileSetRuleSet.java b/src/main/java/com/threerings/media/tile/tools/xml/TileSetRuleSet.java index a7a938d5..6741c93c 100644 --- a/src/main/java/com/threerings/media/tile/tools/xml/TileSetRuleSet.java +++ b/src/main/java/com/threerings/media/tile/tools/xml/TileSetRuleSet.java @@ -49,7 +49,7 @@ public abstract class TileSetRuleSet /** * @return The full path used to match tilesets. Consists of the prefile plus _tilesetPath. */ - public String getPath(){ + public String getPath () { return _path; } diff --git a/src/main/java/com/threerings/media/tile/tools/xml/UniformTileSetRuleSet.java b/src/main/java/com/threerings/media/tile/tools/xml/UniformTileSetRuleSet.java index fe2b18a3..3b0f143d 100644 --- a/src/main/java/com/threerings/media/tile/tools/xml/UniformTileSetRuleSet.java +++ b/src/main/java/com/threerings/media/tile/tools/xml/UniformTileSetRuleSet.java @@ -32,15 +32,15 @@ import static com.threerings.media.Log.log; * Parses {@link UniformTileSet} instances from a tileset description. A * uniform tileset description looks like so: * - *
- * <tileset name="Sample Uniform Tileset">
- *   <imagePath>path/to/image.png</imagePath>
- *   <!-- the width of each tile in pixels -->
- *   <width>64</width>
- *   <!-- the height of each tile in pixels -->
- *   <height>48</height>
- * </tileset>
- * 
+ * {@code + * + * path/to/image.png + * + * 64 + * + * 48 + * + * } */ public class UniformTileSetRuleSet extends TileSetRuleSet {