lab_inheritance
Insidious Inheritance
truck.cpp File Reference

Implementation of the Truck class. More...

Variables

const int TRAILER_WIDTH = 48
 
const int TRAILER_HEIGHT = 16
 
const HSLAPixel TRAILER_COLOR = color::BLUE
 
const int CABIN_WIDTH = 8
 
const int CABIN_HEIGHT = 12
 
const HSLAPixel CABIN_COLOR = color::RED
 
const int ENGINE_WIDTH = 6
 
const int ENGINE_HEIGHT = 8
 
const HSLAPixel ENGINE_COLOR = color::RED
 
const int WINDOW_WIDTH = 4
 
const int WINDOW_HEIGHT = 4
 
const HSLAPixel WINDOW_COLOR = color::BLUE
 
const int WHEEL_RADIUS = 3
 
const HSLAPixel WHEEL_COLOR = color::BLACK
 
const int NUM_WHEELS = 5
 

Detailed Description

Implementation of the Truck class.