Closed ArthurAlexandersson closed 1 year ago
MVC: This code should be in one or more of the Controllers, because it is about taking input from the user, not telling the user the state of the model. (Hint; It will be easiest if you make all the code relating to the buttons and spinner into Controllers.) https://github.com/Knodeln/TDA-553-Lab3/blob/80b4e8f9285a3fca2caddc9bb4089dc312921e15/src/CarView.java#L32-L40
Moved buttons to carcontroller, was easiest to implement on a short notice
MVC: This code should be in one or more of the Controllers, because it is about taking input from the user, not telling the user the state of the model. (Hint; It will be easiest if you make all the code relating to the buttons and spinner into Controllers.) https://github.com/Knodeln/TDA-553-Lab3/blob/80b4e8f9285a3fca2caddc9bb4089dc312921e15/src/CarView.java#L32-L40