@@ -14,68 +14,168 @@ Entity.Type getType() {
1414 return Entity .Type .TILING_SPRITE ;
1515 }
1616
17+ /**
18+ * Sets the X offset of the image that is being tiled.
19+ *
20+ * @param tileX
21+ * the X offset of the image that is being tiled
22+ * @return this <code>Entity</code>
23+ */
1724 public TilingSprite setTileX (int tileX ) {
1825 return setTileX (tileX , null );
1926 }
2027
28+ /**
29+ * Sets the X offset of the image that is being tiled.
30+ *
31+ * @param tileX
32+ * the X offset of the image that is being tiled
33+ * @param curve
34+ * the transition to animate between values of this property
35+ * @return this <code>Entity</code>
36+ */
2137 public TilingSprite setTileX (int tileX , Curve curve ) {
2238 this .tileX = tileX ;
2339 set ("tileX" , tileX , curve );
2440 return this ;
2541 }
2642
43+ /**
44+ * Sets the Y offset of the image that is being tiled.
45+ *
46+ * @param tileY
47+ * the Y offset of the image that is being tiled
48+ * @return this <code>Entity</code>
49+ */
2750 public TilingSprite setTileY (int tileY ) {
2851 return setTileY (tileY , null );
2952 }
3053
54+ /**
55+ * Sets the Y offset of the image that is being tiled.
56+ *
57+ * @param tileY
58+ * the Y offset of the image that is being tiled
59+ * @param curve
60+ * the transition to animate between values of this property
61+ * @return this <code>Entity</code>
62+ */
3163 public TilingSprite setTileY (int tileY , Curve curve ) {
3264 this .tileY = tileY ;
3365 set ("tileY" , tileY , curve );
3466 return this ;
3567 }
3668
69+ /**
70+ * Sets both the horizontal and vertical scale of the image that is being tiled.
71+ *
72+ * @param tileScale
73+ * the scale of the image that is being tiled
74+ * @return this <code>Entity</code>
75+ */
3776 public TilingSprite setTileScale (double tileScale ) {
3877 return setTileScale (tileScale , null );
3978 }
4079
80+ /**
81+ * Sets both the horizontal and vertical scale of the image that is being tiled.
82+ *
83+ * @param tileScale
84+ * the scale of the image that is being tiled
85+ * @param curve
86+ * the transition to animate between values of this property
87+ * @return this <code>Entity</code>
88+ */
4189 public TilingSprite setTileScale (double tileScale , Curve curve ) {
4290 setTileScaleX (tileScale , curve );
4391 setTileScaleY (tileScale , curve );
4492 return this ;
4593 }
4694
95+ /**
96+ * Sets the horizontal scale of the image that is being tiled.
97+ *
98+ * @param tileScaleX
99+ * the horizontal scale of the image that is being tiled
100+ * @return this <code>Entity</code>
101+ */
47102 public TilingSprite setTileScaleX (double tileScaleX ) {
48103 return setTileScaleX (tileScaleX , null );
49104 }
50105
106+ /**
107+ * Sets the horizontal scale of the image that is being tiled.
108+ *
109+ * @param tileScaleX
110+ * the horizontal scale of the image that is being tiled
111+ * @param curve
112+ * the transition to animate between values of this property
113+ * @return this <code>Entity</code>
114+ */
51115 public TilingSprite setTileScaleX (double tileScaleX , Curve curve ) {
52116 this .tileScaleX = tileScaleX ;
53117 set ("tileScaleX" , tileScaleX , curve );
54118 return this ;
55119 }
56120
121+ /**
122+ * Sets the vertical scale of the image that is being tiled.
123+ *
124+ * @param tileScaleY
125+ * the vertical scale of the image that is being tiled
126+ * @return this <code>Entity</code>
127+ */
57128 public TilingSprite setTileScaleY (double tileScaleY ) {
58129 return setTileScaleY (tileScaleY , null );
59130 }
60131
132+ /**
133+ * Sets the vertical scale of the image that is being tiled.
134+ *
135+ * @param tileScaleY
136+ * the vertical scale of the image that is being tiled
137+ * @param curve
138+ * the transition to animate between values of this property
139+ * @return this <code>Entity</code>
140+ */
61141 public TilingSprite setTileScaleY (double tileScaleY , Curve curve ) {
62142 this .tileScaleY = tileScaleY ;
63143 set ("tileScaleY" , tileScaleY , curve );
64144 return this ;
65145 }
66146
147+ /**
148+ * Sets the X offset of the image that is being tiled.
149+ *
150+ * @return the X offset of the image that is being tiled
151+ */
67152 public int getTileX () {
68153 return tileX ;
69154 }
70155
156+ /**
157+ * Sets the Y offset of the image that is being tiled.
158+ *
159+ * @return the Y offset of the image that is being tiled
160+ */
71161 public int getTileY () {
72162 return tileY ;
73163 }
74164
165+ /**
166+ * Gets the horizontal scale of the image that is being tiled.
167+ *
168+ * @return the horizontal scale of the image that is being tiled
169+ */
75170 public double getTileScaleX () {
76171 return tileScaleX ;
77172 }
78173
174+ /**
175+ * Gets the vertical scale of the image that is being tiled.
176+ *
177+ * @return the vertical scale of the image that is being tiled
178+ */
79179 public double getTileScaleY () {
80180 return tileScaleY ;
81181 }
0 commit comments