Sheepolution / how-to-love

LÖVE tutorials
MIT License
98 stars 25 forks source link

Update chapter11.md #20

Closed theRohan2001 closed 3 years ago

theRohan2001 commented 3 years ago

I think we have to explicitly call the shape's update function in both the shapes and also in the main.lua because it wasn't working for me and I thought you don't have to call the functions. We should add that to avoid further confusion. Thank you

Sheepolution commented 3 years ago

You don't need to have Rectangle:update and Circle:update. If a class doesn't have a method it calls its parent's method instead.