OSDN Git Service

[updated] Everything to use the latest source formatter. Yay! Use it, love it!
[mikumikustudio/libgdx-mikumikustudio.git] / gdx / src / com / badlogic / gdx / scenes / scene2d / actors / Label.java
index 79633c8..687da6a 100644 (file)
@@ -13,6 +13,7 @@
  * See the License for the specific language governing permissions and\r
  * limitations under the License.\r
  ******************************************************************************/\r
+\r
 package com.badlogic.gdx.scenes.scene2d.actors;\r
 \r
 import com.badlogic.gdx.graphics.g2d.BitmapFont;\r
@@ -83,7 +84,8 @@ public class Label extends Actor implements Layout {
                }\r
        }\r
 \r
-       @Override public void draw (SpriteBatch batch, float parentAlpha) {\r
+       @Override\r
+       public void draw (SpriteBatch batch, float parentAlpha) {\r
                cache.setColor(color.r, color.g, color.b, color.a * parentAlpha);\r
                switch (valign) {\r
                case TOP:\r
@@ -105,22 +107,26 @@ public class Label extends Actor implements Layout {
                cache.draw(batch);\r
        }\r
 \r
-       @Override public boolean touchDown (float x, float y, int pointer) {\r
+       @Override\r
+       public boolean touchDown (float x, float y, int pointer) {\r
                if (!touchable) return false;\r
                return x > 0 && y > 0 && x < width && y < height;\r
        }\r
 \r
-       @Override public boolean touchUp (float x, float y, int pointer) {\r
+       @Override\r
+       public boolean touchUp (float x, float y, int pointer) {\r
                if (!touchable) return false;\r
                return x > 0 && y > 0 && x < width && y < height;\r
        }\r
 \r
-       @Override public boolean touchDragged (float x, float y, int pointer) {\r
+       @Override\r
+       public boolean touchDragged (float x, float y, int pointer) {\r
                if (!touchable) return false;\r
                return x > 0 && y > 0 && x < width && y < height;\r
        }\r
 \r
-       @Override public Actor hit (float x, float y) {\r
+       @Override\r
+       public Actor hit (float x, float y) {\r
                return x > 0 && y > 0 && x < width && y < height ? this : null;\r
        }\r
 \r