Closed agnacore closed 10 months ago
the connection to logic needs to be done somewhere, ideally the logic controls the graphics
So what I'm thinking is we have the model class (Player, Enemy, etc.) have a sprite or kind of image object. The controller class would then be in charge of updating the ship's position.
We could create or get images to use for each ship type. For now, I gave them JavaFX rectangles. (See the associated PR.)
Ultimately, we may want to look into JavaFX animations, which I know nothing about at the moment.
@agnacore I think what I'll actually do is keep my assignment here and assign you to the pull request instead.
Basically the frame, stage, that stuff