Re: error in code
The enemy variable is declared in the game_play function, so the shoot function does not know about it.
If shoot is a method of the enemy class, instead of enemy, you could use this.
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector