koenhendriks / CarParkSimulation

Java assignment for a car park simulation
GNU General Public License v3.0
1 stars 3 forks source link

Create reservations for customers #10

Closed koenhendriks closed 8 years ago

koenhendriks commented 8 years ago

We need to add a class for customers who made reservations.

The implementation of the pay-method will be different for different kinds of customers. So we'll need an interface for the payment. See #11

koenhendriks commented 8 years ago

Reservation class should extend car class and have a hashmap with CompanyName and arraylist of locations.

Then a new ReservationCustomer class should be made that extends the Reservation class. This should have a Company string (for example "media markt") the lcoatiosn for this company should be in the hashmap of the super Reservation class

koenhendriks commented 8 years ago

Closed in #46