Coins - override vs inherit

At 8:05 when Nathan says “All we need to do is override Coin” I think he means inherit from Coin. Is that right? Just double checking.

Thanks so much!

Julian

Hi there,
Yes he is inheriting from the Coin class here. Specifically he is inheriting with purpose of overriding the Collect method. So he means both here I think :sweat_smile:

Hope that answers your question!

1 Like

Thanks! Just what I thought and thanks for clarifying!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms