public class Truck extends Vehicle { // --------------------------------------------------------- constructor public Truck(color myColor, int xOriginPoint, int yOriginPoint, int direction) { super(3, myColor, xOriginPoint, yOriginPoint, direction); } }