I am using a
I feel I am spamming "self." A lot of my classes have a lot of "self." lines Example of random code:
class Unit():
def onCollide(self, other):
if self.modifiedHP() - other.damage() < 0:
self.die()
self.game.playsound("boom")
self.game.spawn("item")
So I'm looking for advice on if this is normal? Or bad code?
--
Jake