OSDN Git Service

swig generated java files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btShortIntIndexTripletData.java
index 6afd1f2..d5f4fb8 100644 (file)
@@ -1,62 +1,78 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.8
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package com.badlogic.gdx.physics.bullet;
-
-import com.badlogic.gdx.math.Vector3;
-import com.badlogic.gdx.math.Quaternion;
-import com.badlogic.gdx.math.Matrix3;
-
-public class btShortIntIndexTripletData {
-  private long swigCPtr;
-  protected boolean swigCMemOwn;
-
-  protected btShortIntIndexTripletData(long cPtr, boolean cMemoryOwn) {
-    swigCMemOwn = cMemoryOwn;
-    swigCPtr = cPtr;
-  }
-
-  public static long getCPtr(btShortIntIndexTripletData obj) {
-    return (obj == null) ? 0 : obj.swigCPtr;
-  }
-
-  protected void finalize() {
-    delete();
-  }
-
-  public synchronized void delete() {
-    if (swigCPtr != 0) {
-      if (swigCMemOwn) {
-        swigCMemOwn = false;
-        gdxBulletJNI.delete_btShortIntIndexTripletData(swigCPtr);
-      }
-      swigCPtr = 0;
-    }
-  }
-
-  public void setM_values(short[] value) {
-    gdxBulletJNI.btShortIntIndexTripletData_m_values_set(swigCPtr, this, value);
-  }
-
-  public short[] getM_values() {
-    return gdxBulletJNI.btShortIntIndexTripletData_m_values_get(swigCPtr, this);
-  }
-
-  public void setM_pad(String value) {
-    gdxBulletJNI.btShortIntIndexTripletData_m_pad_set(swigCPtr, this, value);
-  }
-
-  public String getM_pad() {
-    return gdxBulletJNI.btShortIntIndexTripletData_m_pad_get(swigCPtr, this);
-  }
-
-  public btShortIntIndexTripletData() {
-    this(gdxBulletJNI.new_btShortIntIndexTripletData(), true);
-  }
-
-}
+/* ----------------------------------------------------------------------------\r
+ * This file was automatically generated by SWIG (http://www.swig.org).\r
+ * Version 2.0.10\r
+ *\r
+ * Do not make changes to this file unless you know what you are doing--modify\r
+ * the SWIG interface file instead.\r
+ * ----------------------------------------------------------------------------- */\r
+\r
+package com.badlogic.gdx.physics.bullet;\r
+\r
+import com.badlogic.gdx.math.Vector3;\r
+import com.badlogic.gdx.math.Quaternion;\r
+import com.badlogic.gdx.math.Matrix3;\r
+import com.badlogic.gdx.math.Matrix4;\r
+\r
+public class btShortIntIndexTripletData extends BulletBase {\r
+       private long swigCPtr;\r
+       \r
+       protected btShortIntIndexTripletData(final String className, long cPtr, boolean cMemoryOwn) {\r
+               super(className, cPtr, cMemoryOwn);\r
+               swigCPtr = cPtr;\r
+       }\r
+       \r
+       protected btShortIntIndexTripletData(long cPtr, boolean cMemoryOwn) {\r
+               this("btShortIntIndexTripletData", cPtr, cMemoryOwn);\r
+               construct();\r
+       }\r
+       \r
+       @Override\r
+       protected void reset(long cPtr, boolean cMemoryOwn) {\r
+               if (!destroyed)\r
+                       destroy();\r
+               super.reset(swigCPtr = cPtr, cMemoryOwn);\r
+       }\r
+       \r
+       public static long getCPtr(btShortIntIndexTripletData obj) {\r
+               return (obj == null) ? 0 : obj.swigCPtr;\r
+       }\r
+\r
+       @Override\r
+       protected void finalize() throws Throwable {\r
+               if (!destroyed)\r
+                       destroy();\r
+               super.finalize();\r
+       }\r
+\r
+  @Override protected synchronized void delete() {\r
+               if (swigCPtr != 0) {\r
+                       if (swigCMemOwn) {\r
+                               swigCMemOwn = false;\r
+                               gdxBulletJNI.delete_btShortIntIndexTripletData(swigCPtr);\r
+                       }\r
+                       swigCPtr = 0;\r
+               }\r
+               super.delete();\r
+       }\r
+\r
+  public void setValues(short[] value) {\r
+    gdxBulletJNI.btShortIntIndexTripletData_values_set(swigCPtr, this, value);\r
+  }\r
+\r
+  public short[] getValues() {\r
+    return gdxBulletJNI.btShortIntIndexTripletData_values_get(swigCPtr, this);\r
+  }\r
+\r
+  public void setPad(String value) {\r
+    gdxBulletJNI.btShortIntIndexTripletData_pad_set(swigCPtr, this, value);\r
+  }\r
+\r
+  public String getPad() {\r
+    return gdxBulletJNI.btShortIntIndexTripletData_pad_get(swigCPtr, this);\r
+  }\r
+\r
+  public btShortIntIndexTripletData() {\r
+    this(gdxBulletJNI.new_btShortIntIndexTripletData(), true);\r
+  }\r
+\r
+}\r