✅ Working with abstract classes in a homework problem
So for this bit of homework I'm doing, im required to make it so that a player, a class that inherits abstract class gameobject, cannot go further than the reaches of the canvas. I'm not very good at abstract classes, but I had the idea to override the move methods as given in the abstract class so I could use them in the player class according to movement specification
message.txt4.44KB