-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChassis.java
More file actions
25 lines (23 loc) · 803 Bytes
/
Chassis.java
File metadata and controls
25 lines (23 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
public class Chassis {
final String mBodyType;
final String mLayout;
final int mWheelBase;
final int mLength;
final int mWidth;
final int mHeight;
final int mWeight;
final double mWheelDiameter;
final double mWheelAxisRatio;
//measured in inches, except mWeight which is in pounds
Chassis(String pBodyType, String pLayout, int pWheelBase, int pLength, int pWidth, int pHeight, int pWeight, double pWheelDiameter, double pWheelAxisRatio) {
mBodyType = pBodyType;
mLayout = pLayout;
mWheelBase = pWheelBase;
mLength = pLength;
mWidth = pWidth;
mHeight = pHeight;
mWeight = pWeight;
mWheelDiameter = pWheelDiameter;
mWheelAxisRatio = pWheelAxisRatio;
}
}