Hacker News new | ask | show | jobs
by chaps 296 days ago
> How would you unit test an enemy that spawns, moves towards the player, and attacks?

You use a second enemy that spawns, moves towards the "enemy", and attacks.