OSDN Git Service

swig generated java files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btWheelInfoConstructionInfo.java
1 /* ----------------------------------------------------------------------------\r
2  * This file was automatically generated by SWIG (http://www.swig.org).\r
3  * Version 2.0.10\r
4  *\r
5  * Do not make changes to this file unless you know what you are doing--modify\r
6  * the SWIG interface file instead.\r
7  * ----------------------------------------------------------------------------- */\r
8 \r
9 package com.badlogic.gdx.physics.bullet;\r
10 \r
11 import com.badlogic.gdx.math.Vector3;\r
12 import com.badlogic.gdx.math.Quaternion;\r
13 import com.badlogic.gdx.math.Matrix3;\r
14 import com.badlogic.gdx.math.Matrix4;\r
15 \r
16 public class btWheelInfoConstructionInfo extends BulletBase {\r
17         private long swigCPtr;\r
18         \r
19         protected btWheelInfoConstructionInfo(final String className, long cPtr, boolean cMemoryOwn) {\r
20                 super(className, cPtr, cMemoryOwn);\r
21                 swigCPtr = cPtr;\r
22         }\r
23         \r
24         protected btWheelInfoConstructionInfo(long cPtr, boolean cMemoryOwn) {\r
25                 this("btWheelInfoConstructionInfo", cPtr, cMemoryOwn);\r
26                 construct();\r
27         }\r
28         \r
29         @Override\r
30         protected void reset(long cPtr, boolean cMemoryOwn) {\r
31                 if (!destroyed)\r
32                         destroy();\r
33                 super.reset(swigCPtr = cPtr, cMemoryOwn);\r
34         }\r
35         \r
36         public static long getCPtr(btWheelInfoConstructionInfo obj) {\r
37                 return (obj == null) ? 0 : obj.swigCPtr;\r
38         }\r
39 \r
40         @Override\r
41         protected void finalize() throws Throwable {\r
42                 if (!destroyed)\r
43                         destroy();\r
44                 super.finalize();\r
45         }\r
46 \r
47   @Override protected synchronized void delete() {\r
48                 if (swigCPtr != 0) {\r
49                         if (swigCMemOwn) {\r
50                                 swigCMemOwn = false;\r
51                                 gdxBulletJNI.delete_btWheelInfoConstructionInfo(swigCPtr);\r
52                         }\r
53                         swigCPtr = 0;\r
54                 }\r
55                 super.delete();\r
56         }\r
57 \r
58   public void setChassisConnectionCS(btVector3 value) {\r
59     gdxBulletJNI.btWheelInfoConstructionInfo_chassisConnectionCS_set(swigCPtr, this, btVector3.getCPtr(value), value);\r
60   }\r
61 \r
62   public btVector3 getChassisConnectionCS() {\r
63     long cPtr = gdxBulletJNI.btWheelInfoConstructionInfo_chassisConnectionCS_get(swigCPtr, this);\r
64     return (cPtr == 0) ? null : new btVector3(cPtr, false);\r
65   }\r
66 \r
67   public void setWheelDirectionCS(btVector3 value) {\r
68     gdxBulletJNI.btWheelInfoConstructionInfo_wheelDirectionCS_set(swigCPtr, this, btVector3.getCPtr(value), value);\r
69   }\r
70 \r
71   public btVector3 getWheelDirectionCS() {\r
72     long cPtr = gdxBulletJNI.btWheelInfoConstructionInfo_wheelDirectionCS_get(swigCPtr, this);\r
73     return (cPtr == 0) ? null : new btVector3(cPtr, false);\r
74   }\r
75 \r
76   public void setWheelAxleCS(btVector3 value) {\r
77     gdxBulletJNI.btWheelInfoConstructionInfo_wheelAxleCS_set(swigCPtr, this, btVector3.getCPtr(value), value);\r
78   }\r
79 \r
80   public btVector3 getWheelAxleCS() {\r
81     long cPtr = gdxBulletJNI.btWheelInfoConstructionInfo_wheelAxleCS_get(swigCPtr, this);\r
82     return (cPtr == 0) ? null : new btVector3(cPtr, false);\r
83   }\r
84 \r
85   public void setSuspensionRestLength(float value) {\r
86     gdxBulletJNI.btWheelInfoConstructionInfo_suspensionRestLength_set(swigCPtr, this, value);\r
87   }\r
88 \r
89   public float getSuspensionRestLength() {\r
90     return gdxBulletJNI.btWheelInfoConstructionInfo_suspensionRestLength_get(swigCPtr, this);\r
91   }\r
92 \r
93   public void setMaxSuspensionTravelCm(float value) {\r
94     gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionTravelCm_set(swigCPtr, this, value);\r
95   }\r
96 \r
97   public float getMaxSuspensionTravelCm() {\r
98     return gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionTravelCm_get(swigCPtr, this);\r
99   }\r
100 \r
101   public void setWheelRadius(float value) {\r
102     gdxBulletJNI.btWheelInfoConstructionInfo_wheelRadius_set(swigCPtr, this, value);\r
103   }\r
104 \r
105   public float getWheelRadius() {\r
106     return gdxBulletJNI.btWheelInfoConstructionInfo_wheelRadius_get(swigCPtr, this);\r
107   }\r
108 \r
109   public void setSuspensionStiffness(float value) {\r
110     gdxBulletJNI.btWheelInfoConstructionInfo_suspensionStiffness_set(swigCPtr, this, value);\r
111   }\r
112 \r
113   public float getSuspensionStiffness() {\r
114     return gdxBulletJNI.btWheelInfoConstructionInfo_suspensionStiffness_get(swigCPtr, this);\r
115   }\r
116 \r
117   public void setWheelsDampingCompression(float value) {\r
118     gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingCompression_set(swigCPtr, this, value);\r
119   }\r
120 \r
121   public float getWheelsDampingCompression() {\r
122     return gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingCompression_get(swigCPtr, this);\r
123   }\r
124 \r
125   public void setWheelsDampingRelaxation(float value) {\r
126     gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingRelaxation_set(swigCPtr, this, value);\r
127   }\r
128 \r
129   public float getWheelsDampingRelaxation() {\r
130     return gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingRelaxation_get(swigCPtr, this);\r
131   }\r
132 \r
133   public void setFrictionSlip(float value) {\r
134     gdxBulletJNI.btWheelInfoConstructionInfo_frictionSlip_set(swigCPtr, this, value);\r
135   }\r
136 \r
137   public float getFrictionSlip() {\r
138     return gdxBulletJNI.btWheelInfoConstructionInfo_frictionSlip_get(swigCPtr, this);\r
139   }\r
140 \r
141   public void setMaxSuspensionForce(float value) {\r
142     gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionForce_set(swigCPtr, this, value);\r
143   }\r
144 \r
145   public float getMaxSuspensionForce() {\r
146     return gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionForce_get(swigCPtr, this);\r
147   }\r
148 \r
149   public void setBIsFrontWheel(boolean value) {\r
150     gdxBulletJNI.btWheelInfoConstructionInfo_bIsFrontWheel_set(swigCPtr, this, value);\r
151   }\r
152 \r
153   public boolean getBIsFrontWheel() {\r
154     return gdxBulletJNI.btWheelInfoConstructionInfo_bIsFrontWheel_get(swigCPtr, this);\r
155   }\r
156 \r
157   public btWheelInfoConstructionInfo() {\r
158     this(gdxBulletJNI.new_btWheelInfoConstructionInfo(), true);\r
159   }\r
160 \r
161 }\r