OSDN Git Service

[changed] Rectangle is no longer final. members are public now. Setters/getters left...
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Fri, 10 Dec 2010 05:47:36 +0000 (05:47 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Fri, 10 Dec 2010 05:47:36 +0000 (05:47 +0000)
gdx/src/com/badlogic/gdx/math/Rectangle.java

index a03479f..eba0186 100644 (file)
@@ -17,9 +17,9 @@ package com.badlogic.gdx.math;
  * @author badlogicgames@gmail.com\r
  * \r
  */\r
-public final class Rectangle {\r
-       private float x, y;\r
-       private float width, height;\r
+public class Rectangle {\r
+       public float x, y;\r
+       public float width, height;\r
 \r
        /**\r
         * Constructs a new rectangle with all values set to zero\r