OTUS
thanks - will give it a try
EDITED: Otus, I implemented your change and it's working perfectly. Thanks
QuietBloke
Yes, I thought about an array which would certainly be much easier as there's a known quantity of invaders and each could be given a display flag based on whether they've been hit or not. But this was meant to be an exercise for me to get my head around types and lists and OO, so I ignored that route. Might get a separate version running like this.
thanks - will give it a try
EDITED: Otus, I implemented your change and it's working perfectly. Thanks
QuietBloke
Yes, I thought about an array which would certainly be much easier as there's a known quantity of invaders and each could be given a display flag based on whether they've been hit or not. But this was meant to be an exercise for me to get my head around types and lists and OO, so I ignored that route. Might get a separate version running like this.