public class TrainCar extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TrainCar.eType |
| Modifier and Type | Field and Description |
|---|---|
TrainCar.eType |
carType |
int |
identifier |
String |
ownedBy |
| Constructor and Description |
|---|
TrainCar(TrainCar.eType type,
int id,
String owner) |
public TrainCar.eType carType
public int identifier
public String ownedBy
public TrainCar(TrainCar.eType type, int id, String owner)