// Include so we can access the Vehicle class
#include "Vehicle.h"

// Constructors
Vehicle::Vehicle()
{
	registration = "NO REG";
	length = 0.0f;
	seats = 0;
	wheels = 0;
}

// Constructor with two arguments for vehicle length and registration
Vehicle::Vehicle(string reg, float nlength)
{
	registration = reg;
	length = length;
	seats = 0;
	wheels = 0;
}

// Constructor with four arguments for all variables in class
Vehicle::Vehicle(string reg, float nlength, int nwheels, int nseats)
{
	registration = reg;
	length = nlength;
	seats = nseats;
	wheels = nwheels;
}

// All Setters
void Vehicle::setNumberSeats(int newSeats)
{
	seats = newSeats;
}

void Vehicle::setNumberWheels(int newWheels)
{
	wheels = newWheels;
}

void Vehicle::setLength(float newLength)
{
	length = newLength;
}

void Vehicle::setRegistration(string newReg)
{
	registration = newReg;
}

// All Getters
int Vehicle::getNumberSeats()
{
	return seats;
}

int Vehicle::getNumberWheels()
{
	return wheels;
}

float Vehicle::getLength()
{
	return length;
}

string Vehicle::getRegistration()
{
	return registration;
}