Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

How to define enemies


I have been programming for a while now and I can’t figure out how to “define” enemies, how do you define them?


enemies = self.findEnemies()
enemy = self.findNearestEnemy()

Depending on your glasses


Okay, Thank you. I know that was kinda basic to ask but it help a lot.