Knodeln / TDA-553-Lab3

Lab3 in OOPD
0 stars 0 forks source link

CRITICAL: MVC #2

Closed ArthurAlexandersson closed 1 year ago

ArthurAlexandersson commented 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

Knodeln commented 1 year ago

Moved buttons to carcontroller, was easiest to implement on a short notice